Closed rgant closed 8 years ago
I'm pretty sure i know what the problem is but haven't been able to reproduce it myself ? As per the js-data documentation: cb is optional and is not passed for synchronous operations.
see:http://www.js-data.io/v2.8/docs/model-lifecycle.
So cb needs to be checked before calling it. I'll make this change which should get you running
Thanks, I got past that point and now I have this new error: #12
I'm trying to configure a skeleton website using angularjs and js-data-jsonapi. I'm getting the following error:
In this function:
This is my controller:
And the error is with
DS.save('reports', rpt.id);
in the toggle_status method.Not sure if I've missed something trying to setup my new project, do you have any suggestions?