Page 1 of 1

Fix: jQuery bug 1.4.x onwards

Posted: Thu Apr 22, 2010 12:00 pm
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.

Re: Fix: jQuery bug 1.4.x onwards

Posted: Thu Apr 22, 2010 12:09 pm
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... *