[fusion-commits] r1819 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Mar 12 16:24:08 EDT 2009
Author: pdeschamps
Date: 2009-03-12 16:24:08 -0400 (Thu, 12 Mar 2009)
New Revision: 1819
Modified:
trunk/lib/Widget.js
Log:
re #223: be careful to check if widgets should be initially activated
too
Modified: trunk/lib/Widget.js
===================================================================
--- trunk/lib/Widget.js 2009-03-12 20:23:04 UTC (rev 1818)
+++ trunk/lib/Widget.js 2009-03-12 20:24:08 UTC (rev 1819)
@@ -97,7 +97,8 @@
}
if (uiObj.addEvents) {
if (Fusion.Widget.uiInstances[this.type][0].uiObj &&
- Fusion.Widget.uiInstances[this.type][0].uiObj.options.active) {
+ Fusion.Widget.uiInstances[this.type][0].uiObj.options.active &&
+ Fusion.Widget.uiInstances[this.type][0].shouldActivateWith(this)) {
uiObj.options.active = true;
if (uiObj.domA) {
uiObj.domA.addClass('jx' + uiObj.options.type + 'Active');
More information about the fusion-commits
mailing list