aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/models/report.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/models/report.js b/www/js/models/report.js
index 341574c..e0e21fd 100644
--- a/www/js/models/report.js
+++ b/www/js/models/report.js
@@ -17,6 +17,7 @@
sync: function(method, model, options) {
switch (method) {
+ case 'update':
case 'create':
this.post(model,options);
break;