Closed (outdated)
Project:
cck_map
Version:
5.x-3.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2008 at 22:27 UTC
Updated:
26 May 2019 at 20:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
slybud commentedI've found an alternative, not fully tested, let me know if it works for you
- In the subfolder "icons", i've created a gif gopy of the png marker
marker_white.png => marker_white.gif
- In the file cck_map.js, line 225
marker_white.png => marker_white.gif
And it works fine in IE7 (an 6 probably)
Comment #2
piersg commentedMade this change but no luck for me. IE (and Firefox) reports error in cck_map.js at line 387/388
IE:Line 388 Char 7 Error: Object Required Code: 0
Firefox: Error: document.getElementById("edit-" + this.prefix + "-" + i + "-lon") is null
Is it related to this? http://drupal.org/node/200429 Made this fix too but still doesn't work :(
Comment #3
AlxM commentedHi,
i'm also having this problem, but only in IE. Tried changing the marker to .gif with no luck.
The error im getting is similar to piersg. IE Line: 413 Error: Object doesn't support this property or method Code: 0.
does anyone have any idea what the problem is as it works fine in firefox?
Comment #4
larowlanHi
I had similar problems with IE (v7). After four hours of pain found the following fixes resolve the issue:
In gmapAdminController.prototype.initializePoints, declare the variables' scope as local first using the var keyword ie
var numPoints = ...and on new line after this
var lon, lat, title, description, image;In gmapAdminController.prototype.getCurrentDescription
change
description = desc.value;tovar description = desc.value;Then do the other changes mentioned above regarding the replace function (this is in two places, lines 270 and 83).
Change
jsString = this.prefix.replace('-', '_', 'g')tojsString = this.prefix.replace(/-/g, '_');These changes are in the attached patch.
Basically there seems to be some sort of global namespace collision on the description variable in Internet Explorer.
Lee Rowlands
http://www.rowlands-bcs.com
Comment #5
slybud commentedThanks for your work but that hasn't worked for me : still got this problem in IE7 :(
Do you think it's related to the name of my cck (double underscore in it) : profil_coord_geo ?
Best regards
Sylvain Moreau
Comment #6
shane birley commented