If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    mirko  10 years ago

    Hi,

    I'm trying to run the example provided on github, it seems to be working except for delete, I get the message "" in chrome console :

    delete: {
    value: function(id) {
    if (!this.map.hasOwnProperty(id)) {
    throw "Access prohibited"
    }
    It looks like id passed as parameter is an index and not and id, any ideas ?
     
    Thanks!
     
    - Mirko
     
    replies (1)
    • liam-childs-11306 10 years ago

      Sorry about the delay, I'm buried under work at this end. I've made some changes that enable delete (before it wouldn't delete server-side...). I've tested in Chrome. Hopefully it works for you too.

Commented on:

Connects jsviews MVVM to the server. Dynamically updates the server whenever the client changes data.

Hosting graciously provided by:
Python Anywhere