diff options
-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); } })); |