diff options
Diffstat (limited to 'module/web/static/js/views/abstract/itemView.js')
-rw-r--r-- | module/web/static/js/views/abstract/itemView.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/web/static/js/views/abstract/itemView.js b/module/web/static/js/views/abstract/itemView.js index 993764d3e..a8cb14e7d 100644 --- a/module/web/static/js/views/abstract/itemView.js +++ b/module/web/static/js/views/abstract/itemView.js @@ -24,11 +24,15 @@ define(['jquery', 'backbone', 'underscore'], function($, Backbone, _) { this.$el.zapIn(); }, - load: function() { + load: function(e) { + if(e) + e.stopPropagation(); this.model.fetch(); }, - delete: function() { + delete: function(e) { + if(e) + e.stopPropagation(); this.model.destroy(); } |