aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/mobile.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index e90aea3..da9d02b 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -543,9 +543,7 @@ function _submit_save_report() {
} else {
r = new Report(params);
}
- if ( r.id() != -1 ) {
- r.save();
- }
+ r.save();
return r;
}