aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/reports.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/reports.js')
-rw-r--r--www/js/views/reports.js1
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) {