diff options
Diffstat (limited to 'module/web/templates/default/package_ui.js')
-rw-r--r-- | module/web/templates/default/package_ui.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/module/web/templates/default/package_ui.js b/module/web/templates/default/package_ui.js index 3aee766ac..bb282a546 100644 --- a/module/web/templates/default/package_ui.js +++ b/module/web/templates/default/package_ui.js @@ -182,12 +182,10 @@ var Package = new Class({ this.folder = this.ele.getElements('.folder')[0]; this.password = this.ele.getElements('.password')[0]; - imgs[1].addEvent('click', this.confirmDeletePackage.bind(this)); - + imgs[1].addEvent('click', this.deletePackage.bind(this)); + //imgs[1].addEvent('click', this.confirmDeletePackage.bind(this)); imgs[2].addEvent('click', this.restartPackage.bind(this)); - imgs[3].addEvent('click', this.editPackage.bind(this)); - imgs[4].addEvent('click', this.movePackage.bind(this)); this.ele.getElement('.packagename').addEvent('click', this.toggle.bind(this)); @@ -315,7 +313,8 @@ var Package = new Class({ }.bind(this), onFailure: indicateFail }).send(); - hide_pack(); + //hide_pack(); + event.stop(); }, restartPackage: function(event) { |