Opened 14 years ago
Closed 13 years ago
#203 closed defect (fixed)
Script loading issue w/ GeoEXT ux'es and Firefox 4
Reported by: | etdube | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | documentation | Version: | |
Keywords: | Cc: |
Description
From email on mailing list:
I encountered a weird and intermittent issue related to the loading order of JavaScript files while testing the AttributeFilterPanel widget with Firefox 4. Some objects declared in the external GeoExt ux widgets were sporadically still undefined by the time Ext.onready() executes. Turns out FF4 behaves differently than 3.6 when loading dynamically-inserted <script> tags... see the following OpenLayers ticket: http://trac.osgeo.org/openlayers/ticket/2933 . The snippet of code from OL that we use for loading GeoExt ux .js files (when not using a minified build) is affected by this.
Applying the changes from the patch in the OL ticket solves the issue. I did it for the AttributeFilterPanel ux, but it should be done too for the other ux'es.
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Done for the following ux'es in the sandboxes on svn.geoext.org :
mapgears/geoext.ux/ux/LayerTreeBuilder mapgears/geoext.ux/ux/WFSTFeatureEditing mapgears/geoext.ux/ux/WMSBrowser mapgears/geoext.ux/ux/ZoomTo geoext-sandbox/redlining/ux/FeatureEditing
Fixed in AttributeFilterPanel ux.