If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
Connects jsviews MVVM to the server. Dynamically updates the server whenever the client changes data.
Hi,
I'm still getting "Access prohibited" at line 196 of dynamic_rest.js
If I comment it out, it tries to delete record id 0 when you try to delete the first record which doesn't exist...
Thank you for help,
Mirko
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" }
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.
Comments (2)
0
mirko 10 years ago
Hi,
I'm still getting "Access prohibited" at line 196 of dynamic_rest.js
If I comment it out, it tries to delete record id 0 when you try to delete the first record which doesn't exist...
Thank you for help,
Mirko
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 :
replies (1)