[pve-devel] r5873 - pve-manager/pve2/www/new/grid

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Apr 25 06:36:57 CEST 2011


Author: dietmar
Date: 2011-04-25 06:36:57 +0200 (Mon, 25 Apr 2011)
New Revision: 5873

Modified:
   pve-manager/pve2/www/new/grid/ResourceGrid.js
Log:
sort after add


Modified: pve-manager/pve2/www/new/grid/ResourceGrid.js
===================================================================
--- pve-manager/pve2/www/new/grid/ResourceGrid.js	2011-04-25 04:29:13 UTC (rev 5872)
+++ pve-manager/pve2/www/new/grid/ResourceGrid.js	2011-04-25 04:36:57 UTC (rev 5873)
@@ -138,11 +138,11 @@
 		}
 	    };
 
-	    store.sort();
-
 	    if (addlist.length)
 		store.add(addlist);
 
+	    store.sort();
+
 	    store.resumeEvents();
 
 	    store.fireEvent('datachanged', store);




More information about the pve-devel mailing list