jQuery brakes gmap.module

Events happening in the community are now at Drupal community events on www.drupal.org.
ultraBoy's picture

Hi folks.

I followed this advice http://groups.drupal.org/node/1008#comment-3690 and modified /misc/*.js files. Now I see gmap.module doesn't work after this modification. (the module works OK when I copy those files back). Well, I mean not the module itself, but google maps. They just don't appear :(

Can anybody help please?

Comments

Modifying jquery

mfredrickson's picture

Perhaps you're better off modifying jQuery. I've started this process at:

http://groups.drupal.org/node/1781

-M

That's good. The only

ultraBoy's picture

That's good. The only (serious) disadvantage is that you won't be able to use jQuery's plugins.

sed 's/\$/JQ/' < plugin.js > modifiedplugin.js

mfredrickson's picture

Sorta. You can always just rename all the $() calls with JQ() calls. Suboptimal, but it works.

Javascript

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: