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/existing.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/existing.js')
-rw-r--r-- | www/js/views/existing.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/views/existing.js b/www/js/views/existing.js index 7ba03e5..00dd055 100644 --- a/www/js/views/existing.js +++ b/www/js/views/existing.js @@ -26,6 +26,7 @@ var reset = FMS.removeDraft(this.model.id, true); var that = this; reset.done( function() { that.onDraftRemove(); } ); + reset.fail( function() { that.onDraftRemove(); } ); }, onDraftRemove: function() { |