diff options
author | Struan Donald <struan@exo.org.uk> | 2012-11-15 17:17:23 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-11-15 17:17:23 +0000 |
commit | 6f2a53b4c0d60d1d3a741ff12e9b1c000d34cec8 (patch) | |
tree | d79d14dce1862b2df337e0195725d663b226c615 | |
parent | 8b3255fccffb0641a0c6ea5b533cb801453f24e6 (diff) |
do not prevent the saving of new reports
-rw-r--r-- | www/js/mobile.js | 4 |
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; } |