summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/abstract/itemView.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-12-15 18:01:19 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-12-15 18:01:19 +0100
commitb962da6adbe03f9fda9121ab794ae9e511f2d529 (patch)
tree9feb0aa97f502dbceac8c808235c77b85c00cfc5 /module/web/static/js/views/abstract/itemView.js
parentset user button to pyload blue (diff)
downloadpyload-b962da6adbe03f9fda9121ab794ae9e511f2d529.tar.xz
worked on web-ui
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();
}