hi
gmaplocation works on firefox and chrome but not on IE8.
in IE8 (winxp) we get the following error description
Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Zeile: 12
Zeichen: 5
Code: 0
URI: http://www.DOMAIN.com/sites/all/modules/gmaplocation/gmaplocation.js?r
the error points to this line in the JS file:
description = Drupal.settings.gmaplocation.info;
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | description.patch | 1.66 KB | yaslama |
Comments
Comment #1
babbage commentedTranslation:
Message: Object does not support this property or method.
Row: 12
Character: 5
Have yet to confirm this issue on another install.
Comment #2
babbage commentedCannot reproduce this problem on Internet Explorer 8 on Windows XP. I only have an English install, so I suppose it is possible that there could be an issue somehow with a german language install, but that's getting pretty specific at that point and without someone else able to reproduce it a far more likely problem is there is something wrong with your system/IE8 configuration I'm afraid.
If you are continuing to have this difficulty, please ensure you can reproduce it on a fresh Drupal install with only core modules and gmaplocation installed, and list specific step-by-step instructions to reproduce the error you observed. Until that is available, closing this issue as unable to reproduce.
Comment #3
yaslama commentedHello,
It seems that it's quite easy to reproduce the bug. Add the module nodewords in order to add meta-tags and put a non-empty string in the meta-tag "description".
Then IE will define the js variable description (see http://www.phpied.com/browser-implied-globals/) and this will conflict with the code in gmaplocation.js which also uses a variable called "description".
My patch simply rename description to descr.
Comment #4
tregeagle commentedI'm getting a similar error in that delightful browser IE8:
I applied yaslama's patch successfully but am still getting the error.
Will keep tweaking and let you know how it goes...