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

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Apr 18 12:13:19 CEST 2011


Author: dietmar
Date: 2011-04-18 12:13:19 +0200 (Mon, 18 Apr 2011)
New Revision: 5816

Modified:
   pve-manager/pve2/www/new/grid/ResourceGrid.js
Log:
remove unused code


Modified: pve-manager/pve2/www/new/grid/ResourceGrid.js
===================================================================
--- pve-manager/pve2/www/new/grid/ResourceGrid.js	2011-04-18 09:56:11 UTC (rev 5815)
+++ pve-manager/pve2/www/new/grid/ResourceGrid.js	2011-04-18 10:13:19 UTC (rev 5816)
@@ -38,10 +38,6 @@
 	    proxy: { type: 'memory' }
 	});
 
-	var pdata = {
-	    updateCount: 0
-	};
-
 	var textfilter = '';
 
 	var textfilter_match = function(item) {
@@ -63,7 +59,7 @@
 
 	    var filterfn = null;
 	    
-	    console.log("START GRID UPDATE " + removeAll);
+	    //console.log("START GRID UPDATE " + removeAll);
 
 	    store.suspendEvents();
 
@@ -143,12 +139,7 @@
 
 	    store.fireEvent('datachanged', store);
 
-	    console.log("END GRID UPDATE");
-	    if (!pdata.updateCount) {
-		//self.applyState(sp.get(stateid));
-	    }
-
-	    pdata.updateCount++;
+	    //console.log("END GRID UPDATE");
 	};
 
 




More information about the pve-devel mailing list