diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-08-15 09:12:39 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-08-15 09:12:39 -0400 |
commit | 3a1947ce25ef524409da7a7c1e51214b2c44f1e5 (patch) | |
tree | cc4aef7fbb2b69bcbaee55e976f13e926c10e034 | |
parent | 0f951f848d7ca75037711445504290508bafcea1 (diff) |
Show close button on modal when installation fails.
* js/guix-packages.js (guix.view): Show close button on the error phase.
-rw-r--r-- | js/guix-packages.js | 2 |
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); |