[fusion-commits] r2053 - sandbox/jxlib-3.0/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Feb 2 14:14:28 EST 2010
Author: madair
Date: 2010-02-02 14:14:26 -0500 (Tue, 02 Feb 2010)
New Revision: 2053
Modified:
sandbox/jxlib-3.0/widgets/MapMenu.js
Log:
use resourceId rather than MapResource for menu hierarchy
Modified: sandbox/jxlib-3.0/widgets/MapMenu.js
===================================================================
--- sandbox/jxlib-3.0/widgets/MapMenu.js 2010-02-02 16:49:01 UTC (rev 2052)
+++ sandbox/jxlib-3.0/widgets/MapMenu.js 2010-02-02 19:14:26 UTC (rev 2053)
@@ -108,7 +108,7 @@
if (o.values) {
for (var i=0; i<list.length; i++) {
var resource = list[i];
- var mapId = resource.sMapResource;
+ var mapId = resource.sResourceId;
mapId = mapId.replace(this.rootFolder, '');
var folders = mapId.split('/');
var label = folders.pop();
@@ -118,7 +118,7 @@
// check for mapgroup data and if there is none,
// create a maptag that will be passed to the map
// widget constructor
- data = {maps:[{'resourceId': resource.sResourceId,
+ data = {maps:[{'resourceId': resource.sMapResource,
'singleTile':true,
'type': this.arch,
'extension':{'MapFile': [resource.sPath]}
More information about the fusion-commits
mailing list