[Commits] r2769 - sandbox/gxm/geoext/gxm/lib/GXM/data

commits at geoext.org commits at geoext.org
Fri Jul 22 10:55:10 CEST 2011


Author: marcjansen
Date: 2011-07-22 10:55:10 +0200 (Fri, 22 Jul 2011)
New Revision: 2769

Modified:
   sandbox/gxm/geoext/gxm/lib/GXM/data/LayerReader.js
Log:
[gxm] zindex is of type int

Modified: sandbox/gxm/geoext/gxm/lib/GXM/data/LayerReader.js
===================================================================
--- sandbox/gxm/geoext/gxm/lib/GXM/data/LayerReader.js	2011-07-22 08:38:08 UTC (rev 2768)
+++ sandbox/gxm/geoext/gxm/lib/GXM/data/LayerReader.js	2011-07-22 08:55:10 UTC (rev 2769)
@@ -21,7 +21,7 @@
                 record.data.layer = record.raw;
             }
             if ( Ext.isDefined(record.data) && Ext.isDefined(record.data.zindex)) {
-                record.data.zindex = record.raw.getZIndex();
+                record.data.zindex = parseInt(record.raw.getZIndex(), 10);
             }
         });
         



More information about the Commits mailing list