[Commits] r2812 - sandbox/gxm/geoext/gxm/lib/GXM/widgets
commits at geoext.org
commits at geoext.org
Wed Aug 17 12:16:53 CEST 2011
Author: marcjansen
Date: 2011-08-17 12:16:52 +0200 (Wed, 17 Aug 2011)
New Revision: 2812
Modified:
sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js
Log:
[gxm] register button actrivation/deactivation listeners even when not configured with a map.
Modified: sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js
===================================================================
--- sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js 2011-08-15 11:41:52 UTC (rev 2811)
+++ sandbox/gxm/geoext/gxm/lib/GXM/widgets/Button.js 2011-08-17 10:16:52 UTC (rev 2812)
@@ -157,12 +157,12 @@
this.addCls(this.pressedCls);
this.control.activate();
}
- this.control.events.on({
- activate: this.onCtrlActivate,
- deactivate: this.onCtrlDeactivate,
- scope: this
- });
}
+ this.control.events.on({
+ activate: this.onCtrlActivate,
+ deactivate: this.onCtrlDeactivate,
+ scope: this
+ });
}
},
More information about the Commits
mailing list