diff options
author | zefanja <zefanja@freenet.de> | 2014-02-09 20:17:08 +0700 |
---|---|---|
committer | zefanja <zefanja@freenet.de> | 2014-02-09 20:17:08 +0700 |
commit | cc90e5d6407d0e3c3db5af0c36bf634c5ae1a6a8 (patch) | |
tree | db409f186edabb973814985f4ab32680c757bcf2 /source | |
parent | 4bebba6d4657308be57c27bf4f288000f9487da0 (diff) | |
download | biblez-ng-cc90e5d6407d0e3c3db5af0c36bf634c5ae1a6a8.tar.gz |
* set RemoveButton disbaled when removing module
Diffstat (limited to 'source')
-rw-r--r-- | source/moduleManagerDesktop.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/moduleManagerDesktop.js b/source/moduleManagerDesktop.js index c2ee1bd..fd57919 100644 --- a/source/moduleManagerDesktop.js +++ b/source/moduleManagerDesktop.js @@ -88,11 +88,13 @@ enyo.kind({ handleRemove: function (inSender, inEvent) { if(inEvent.originator && inEvent.originator.modKey) { + inEvent.originator.setDisabled(true); sword.installMgr.removeModule(inEvent.originator.modKey, enyo.bind(this, function (inError) { if(!inError) { this.doInstalled(); this.getModules(); } else { + inEvent.originator.setDisabled(false); this.handleError(inError); } })); |