[Commits] r1868 - sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form
commits at geoext.org
commits at geoext.org
Wed Feb 3 19:52:58 CET 2010
Author: cmoullet
Date: 2010-02-03 19:52:58 +0100 (Wed, 03 Feb 2010)
New Revision: 1868
Modified:
sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js
Log:
Fireevent for initial state update
Modified: sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js
===================================================================
--- sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js 2010-02-03 13:55:39 UTC (rev 1867)
+++ sandbox/cmoullet/ux/ScaleSelectorCombo/ux/widgets/form/ScaleSelectorCombo.js 2010-02-03 18:52:58 UTC (rev 1868)
@@ -86,9 +86,9 @@
for (var i = 0; i < this.store.getCount(); i++) {
if (this.fakeScaleValue) {
- this.store.getAt(i).data.formattedScale = this.addThousandSeparator(this.roundNumber(this.fakeScaleValue[i], this.decimalNumber), this.thousandSeparator);
+ this.store.getAt(i).data.formattedScale = this.addThousandSeparator(this.roundNumber(this.fakeScaleValue[i], this.decimalNumber), this.thousandSeparator);
} else {
- this.store.getAt(i).data.formattedScale = this.addThousandSeparator(this.roundNumber(this.store.getAt(i).data.scale, this.decimalNumber), this.thousandSeparator);
+ this.store.getAt(i).data.formattedScale = this.addThousandSeparator(this.roundNumber(this.store.getAt(i).data.scale, this.decimalNumber), this.thousandSeparator);
}
}
this.on('select',
@@ -99,6 +99,7 @@
);
this.map.events.register('zoomend', this, this.zoomendUpdate);
+ this.map.events.triggerEvent("zoomend");
},
/** method[zoomendUpdate]
More information about the Commits
mailing list