[fusion-commits] r2356 - trunk/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Mar 31 13:54:22 EDT 2011


Author: madair
Date: 2011-03-31 10:54:22 -0700 (Thu, 31 Mar 2011)
New Revision: 2356

Modified:
   trunk/lib/Widget.js
Log:
closes #438: always run through the logic to add to the buttonSet (not just for the widget widget instance of that type)

Modified: trunk/lib/Widget.js
===================================================================
--- trunk/lib/Widget.js	2011-03-29 20:36:25 UTC (rev 2355)
+++ trunk/lib/Widget.js	2011-03-31 17:54:22 UTC (rev 2356)
@@ -98,7 +98,7 @@
               uiObj.button.setTooltip(this.widgetTag.tooltip);
           }
         }
-        if (this.isExclusive  && Fusion.Widget.uiInstances[this.type].length==1) {
+        if (this.isExclusive) {
         	if (Fusion.Widget.uiInstances[this.type].length==1) {
             this.getMap().buttonSet.add(uiObj);
           } else {



More information about the fusion-commits mailing list