Reviewed-By: Emmanuel Kasper <e.kas...@proxmox.com>

On 07/05/2016 05:06 PM, Dominik Csapak wrote:
> in a previous commit (829ded13) we changed the reload
> from the activate event to afterrender, because
> activate will not be fired as a lazyitem
> 
> but this only fires once, so we also reload on activate.
> with the lazyitem/tabchange fix from a previous commit,
> this has now the correct behaviour
> 
> Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
> ---
> note: this needs the previous patch applied, else it has
> no effect
>  www/manager6/lxc/Resources.js | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/www/manager6/lxc/Resources.js b/www/manager6/lxc/Resources.js
> index 5393f39..355b903 100644
> --- a/www/manager6/lxc/Resources.js
> +++ b/www/manager6/lxc/Resources.js
> @@ -269,6 +269,7 @@ Ext.define('PVE.lxc.RessourceView', {
>           rows: rows,
>           listeners: {
>               afterrender: reload,
> +             activate: reload,
>               itemdblclick: run_editor,
>               selectionchange: set_button_status
>           }
> 

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to