Fix: jQuery bug 1.4.x onwards

For Articles relating to more than one ISC version
Post Reply
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

Fix: jQuery bug 1.4.x onwards

Post by Martin »

This fix was submitted by tgv on the main Interspire forum but bears repeating here:
Just found a repeating bug in javascript: when you're at checkbox/dropdown/radiobutton "Edit Custom Field" page, "Click here to add another value" link doesn't work.

Quickest way to fix:
- find all occurrences of function AddOption across the installation (there should be three)
- remove @ from [@type=hidden]
- save/upload.

Explanation:
In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Latest IEM uses jQuery v1.3.2. Current jQuery stable release is v1.4.2 by the way.

This should probably go as a support ticket but
- sorry I can't be bothered filling all that fields
- I don't really need support, just sharing my fix.
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

Re: Fix: jQuery bug 1.4.x onwards

Post by Martin »

Whoops... it seems that fix was for the Email Marketeer product but may be relevant to ISC too...

*note to self: Check the forum you're in... *
Post Reply