summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/abstract/itemView.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/views/abstract/itemView.js')
-rw-r--r--module/web/static/js/views/abstract/itemView.js8
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();
}