From 3a1947ce25ef524409da7a7c1e51214b2c44f1e5 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 15 Aug 2014 09:12:39 -0400 Subject: Show close button on modal when installation fails. * js/guix-packages.js (guix.view): Show close button on the error phase. --- js/guix-packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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); -- cgit v1.2.3