[pve-devel] [PATCH manager 5/8] ext6migrate: fix lxc resource view

Dominik Csapak d.csapak at proxmox.com
Fri Mar 18 14:36:08 CET 2016


after making the resource view lazy
the activate event does not trigger everytime
(where we reload)
so we make it the afterrender event

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/lxc/Resources.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/lxc/Resources.js b/www/manager6/lxc/Resources.js
index 03fd149..393b91d 100644
--- a/www/manager6/lxc/Resources.js
+++ b/www/manager6/lxc/Resources.js
@@ -268,7 +268,7 @@ Ext.define('PVE.lxc.RessourceView', {
 	    ],
 	    rows: rows,
 	    listeners: {
-		activate: reload,
+		afterrender: reload,
 		itemdblclick: run_editor,
 		selectionchange: set_button_status
 	    }
-- 
2.1.4





More information about the pve-devel mailing list