[pve-devel] r6027 - pve-manager/pve2/www/new/grid
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri May 27 11:01:15 CEST 2011
Author: dietmar
Date: 2011-05-27 11:01:15 +0200 (Fri, 27 May 2011)
New Revision: 6027
Modified:
pve-manager/pve2/www/new/grid/ObjectGrid.js
Log:
use getById
Modified: pve-manager/pve2/www/new/grid/ObjectGrid.js
===================================================================
--- pve-manager/pve2/www/new/grid/ObjectGrid.js 2011-05-27 09:00:42 UTC (rev 6026)
+++ pve-manager/pve2/www/new/grid/ObjectGrid.js 2011-05-27 09:01:15 UTC (rev 6027)
@@ -8,7 +8,7 @@
getObjectValue: function(key, defaultValue) {
var me = this;
- var rec = (me.store.snapshot || me.store.data).get(key);
+ var rec = me.store.getById(key);
if (rec)
return rec.data.value;
return defaultValue;
More information about the pve-devel
mailing list