Reviewed-by: Crístian Viana <vianac(a)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(a)linux.vnet.ibm.com>