Posted by jeff h on May 17, 2008 at 12:15am
Jump to:
| Project: | Google Client Geocoder |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When using this module, Internet Explorer (6, haven't tried 7) gives the following error:
A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.
Do you want to abort the script?If I click no, Internet Explorer hangs completely. If I click yes, then the GCG search button doesn't work, nor does the map show (in its place it says "Loading").
Comments
#1
Confirmed, it's hanging in gcg.js
Gcg.jsGC = function (input, base) {^M...
for (i in Gcg.resultFields) {^M
// the following line is causing it to hang.
this.defaultValues[Gcg.resultFields[i]] = $(this.base + '-' + Gcg.resultFields[i]).get(0).value;^M
}^M
...
You can comment out that line and it seems to work, except it hangs again when you click "Search" after you type in a location
Search hangs in this function, not sure if its hanging in getLocations or Gcg.parseResponse.. IE is such paaaaaaaaaain
Gcg.jsGC.prototype.onclick = function () {^Mif (this.input.value.length > 0) {^M
this.populatePopup();^M
Gcg.popupOwner = this;^M
Gcg.geocoder.getLocations(this.input.value, Gcg.parseResponse);^M
}^M
return true;^M
}^M
This is using the jQuery library from jquery_update 5.x-1.0
have tried with current devel jquery update and i get a seperate set of errors
http://ftp.drupal.org/files/projects/jquery_update-5.x-2.x-dev.tar.gz
IE5 and 5.5 also fails
#2
tagging as critical
#3
IE7 works fine! also on the Vista version. Firefox is the best.
#4
Ahh i am getting thsi on IE5, 5.5 and 6 havent tried 7
yes firefox is the best :)
#5
Perhaps this issue is tied to http://drupal.org/node/242003?
#6
Are there any solutions guys?
It seems I am getting this with any type of jquery update be it 1-x or 2-x