[fusion-commits] r2525 - sandbox/adsk/2.4j/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Jan 20 01:11:46 EST 2012
Author: liuar
Date: 2012-01-19 22:11:45 -0800 (Thu, 19 Jan 2012)
New Revision: 2525
Modified:
sandbox/adsk/2.4j/widgets/BasemapSwitcher.js
Log:
Fix ticket: http://trac.osgeo.org/fusion/ticket/518 in adsk sandbox only.
Expecting someone fix it in trunk.
Modified: sandbox/adsk/2.4j/widgets/BasemapSwitcher.js
===================================================================
--- sandbox/adsk/2.4j/widgets/BasemapSwitcher.js 2012-01-20 05:21:52 UTC (rev 2524)
+++ sandbox/adsk/2.4j/widgets/BasemapSwitcher.js 2012-01-20 06:11:45 UTC (rev 2525)
@@ -346,9 +346,10 @@
setDefaultBasemap: function() {
this.generateOptions();
- //re-generate the menu
- this.uiObj.initialize();
+ //clean current menu items
+ this.uiObj.subDomObj.empty();
+
//set up the root menu
var buttonSet = new Jx.ButtonSet();
for (var key in this.options) {
More information about the fusion-commits
mailing list