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

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Tue Mar 25 18:03:53 UTC 2014


Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>

On 03/24/2014 03:33 PM, Aline Manera wrote:
> 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);
>                   }




More information about the Kimchi-devel mailing list