[Kimchi-devel] [PATCH] Bug fix: Properly reload grid content
Crístian Viana
vianac at linux.vnet.ibm.com
Thu Feb 26 18:45:25 UTC 2015
Reviewed-by: Crístian Viana <vianac at linux.vnet.ibm.com>
On 26-02-2015 09:05, Aline Manera wrote:
> The grid reload function requires a data argument related to the grid
> object. It is passed to the handler in the event.data property each time
> an event is trigered.
> So, properly get the grid object on event.data property to do the reload.
>
> To test this, you can manually lock YUM/apt on system by running a
> system update command and then verify on Kimchi that the packages
> update and repositories information was not loaded. Stop the system
> update you have manually started and click on "Retry" button. Without
> this patch you will get a Javascript error:
>
> 'grid' is undefined.
>
> And with that the content will be properly reloaded.
>
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
More information about the Kimchi-devel
mailing list