openlab / OGDI-DataLab

Open Government Data Initiative
http://ogdi.codeplex.com
Microsoft Public License
57 stars 17 forks source link

FireFox endless loop: p_elSource.attachEvent is not a function #6

Closed nikg closed 12 years ago

nikg commented 12 years ago

Tested with FF 7.0.1

FireBug returns error: p_elSource.attachEvent is not a function

Page gets "stuck" on loading.

Looks similar to errors caused by FF in BING maps:

Example: http://datadotgc2.cloudapp.net/DataBrowser/Hack%20OpenData/MiltonSplashV1 http://openregina1.cloudapp.net/DataBrowser/openregina/BicyclePaths#param=NOFILTER--DataView--Results

SyntaxC4 commented 12 years ago

The javascript is implemented in a number of different fashions.

I've begun the process of moving the javascript around to increase page load performance. Next step is to find all the duplicated JS code and pull it into a javascript file. Simplifying the JS will allow for condensing the javascript into possibly a single file which can be minimized to reduce both the amount of http requests but also the size of the javascript download.