[pve-devel] r6019 - pve-manager/pve2/www/new/node

svn-commits at proxmox.com svn-commits at proxmox.com
Tue May 24 15:15:51 CEST 2011


Author: dietmar
Date: 2011-05-24 15:15:51 +0200 (Tue, 24 May 2011)
New Revision: 6019

Modified:
   pve-manager/pve2/www/new/node/Tasks.js
Log:
reload on show


Modified: pve-manager/pve2/www/new/node/Tasks.js
===================================================================
--- pve-manager/pve2/www/new/node/Tasks.js	2011-05-24 13:08:14 UTC (rev 6018)
+++ pve-manager/pve2/www/new/node/Tasks.js	2011-05-24 13:15:51 UTC (rev 6019)
@@ -55,8 +55,6 @@
 	    ptbar.doRefresh();
 	});
 
-	reload_task.delay(10);
-
 	Ext.apply(me, {
 	    store: store,
 	    stateful: false,
@@ -137,7 +135,10 @@
 			return "ERROR: " + value;
 		    }
 		}
-	    ]
+	    ],
+	    listeners: {
+		show: function() { reload_task.delay(10); }
+	    }
 	});
 
 	me.callParent();




More information about the pve-devel mailing list