[Kimchi-devel] [PATCH 2/2] bug fix: Update progress area when an error occurs during update process

Aline Manera alinefm at linux.vnet.ibm.com
Mon Mar 24 18:33:51 UTC 2014


From: Aline Manera <alinefm at br.ibm.com>

When an error occurs during an update the user should know the error to
report or solve it.
So properly update the progress area with task information when an
update fails.

Signed-off-by: Aline Manera <alinefm at br.ibm.com>
---
 ui/js/src/kimchi.host.js |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/js/src/kimchi.host.js b/ui/js/src/kimchi.host.js
index 5d32c4a..6fa8b8c 100644
--- a/ui/js/src/kimchi.host.js
+++ b/ui/js/src/kimchi.host.js
@@ -58,6 +58,7 @@ kimchi.host_main = function() {
                             result: result
                         });
                     }, function(result) {
+                        reloadProgressArea(result);
                         $(updateButton).text(i18n['KCHUPD6006M']).prop('disabled', false);
                     }, reloadProgressArea);
                 }
-- 
1.7.10.4




More information about the Kimchi-devel mailing list