I'm trying to use jquery with 4.7 for alot of things and I'm loading it with every page... However it seems to break the collapse blocks for input type and other info at the bottom of create and edit node pages....there is no more link and they don't collapse...I'm puzzled by this since on other pages it seems fine (admin/settings for example).

Should I look into grabbing the jquery from head to see if it's better behaved with drupal, or is it the exact same as standard? Or should I look into correcting the JS calls via overriding theme functions to make them more 5.0 like to prevent this incompatibility?

-Mike

Comments

drawk’s picture

You might want to take a look at this patch: http://drupal.org/node/85549 (jQuery + new drupal_add_js for 4.7)

---
www.whatwoulddrupaldo.org

mikey_p’s picture

This patch didn't fix the broken js in 4.7.3. Does it only work with the cvs head for 4.7.3?

I wish there was some sort of article that had listed the best practices for developing with JS, especially jquery. Is it even possible to be fully compatible short of going waiting for 5.0? Seems like there has to be someone out there that has done this stuff.

-Mike