summaryrefslogtreecommitdiff
path: root/js/guix-packages.js
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-15 09:12:39 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-15 09:12:39 -0400
commit3a1947ce25ef524409da7a7c1e51214b2c44f1e5 (patch)
treecc4aef7fbb2b69bcbaee55e976f13e926c10e034 /js/guix-packages.js
parent0f951f848d7ca75037711445504290508bafcea1 (diff)
Show close button on modal when installation fails.
* js/guix-packages.js (guix.view): Show close button on the error phase.
Diffstat (limited to 'js/guix-packages.js')
-rw-r--r--js/guix-packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/guix-packages.js b/js/guix-packages.js
index 10e59d8..03aa345 100644
--- a/js/guix-packages.js
+++ b/js/guix-packages.js
@@ -306,7 +306,7 @@ guix.view = function(ctrl) {
case guix.PHASE_DERIVATION:
return m(".btn.btn-default.disabled", "Please wait...");
case guix.PHASE_SUCCESS:
- case guix.PHASE_SUCCESS:
+ case guix.PHASE_ERROR:
return m(".btn.btn-primary", {
onclick: function() {
ctrl.phase(guix.PHASE_NONE);