From b962da6adbe03f9fda9121ab794ae9e511f2d529 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 15 Dec 2012 18:01:19 +0100 Subject: worked on web-ui --- module/web/static/js/views/abstract/itemView.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'module/web/static/js/views/abstract/itemView.js') 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(); } -- cgit v1.2.3