diff options
author | Struan Donald <struan@exo.org.uk> | 2013-04-25 12:06:14 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-04-25 12:06:14 +0100 |
commit | bfa76cede76ab1937437cf0e9134499a85f5fd6e (patch) | |
tree | 701c52c37d80e2df9dc1e0a1b28710cded6c6a4e /www/js | |
parent | 5d1b96d95721d8594acd3ef82c2264b3dfff77e5 (diff) |
clear the current draft when leaving the save offline page
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/views/save_offline.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/views/save_offline.js b/www/js/views/save_offline.js index 69cd7fc..eb7ff19 100644 --- a/www/js/views/save_offline.js +++ b/www/js/views/save_offline.js @@ -12,6 +12,7 @@ }, saveReport: function() { + FMS.clearCurrentDraft(); this.navigate('reports'); }, |