diff options
author | Struan Donald <struan@exo.org.uk> | 2013-05-20 11:21:32 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-05-20 11:21:32 +0100 |
commit | 80bb2885931f67b17dcf013d59166c37cc0fbe1f (patch) | |
tree | 02393698a7882d37b86a68d2ff9c3663d09bad5b /www/js/views/reports.js | |
parent | 67f91858176bae96bd975d2d583a04576c888940 (diff) |
even if we fail to delete a draft behave as if it worked for now
Diffstat (limited to 'www/js/views/reports.js')
-rw-r--r-- | www/js/views/reports.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/views/reports.js b/www/js/views/reports.js index 23956d4..8340aae 100644 --- a/www/js/views/reports.js +++ b/www/js/views/reports.js @@ -20,6 +20,7 @@ var del = FMS.removeDraft( id, true ); var that = this; del.done( function() { that.onRemoveDraft(el); } ); + del.fail( function() { that.onRemoveDraft(el); } ); }, useReport: function(e) { |