Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Update of the movies fails due to missing parenthesis for observable ID property in app.service.js #3

Open
Kasisrinivasan opened this issue Dec 29, 2013 · 0 comments

Comments

@Kasisrinivasan
Copy link

Update of the movie record in the grid results in the HTTP 404 error. This is due to missing parenthesis for the KO observable property "ID" in the "app.service.js" under "Scripts" folder.

Current:

    update: function (item) {
        return ajaxRequest('put', serviceUrls.byId(item.ID), item);
    }

Correct:

    update: function (item) {
        return ajaxRequest('put', serviceUrls.byId(item.ID()), item);
    }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant