This happened using Chrome 5.0.375.70 Beta on Ubuntu 8.04.

$.browser.msie == true ? $(this).click(cckSelectOther.switch) : $(this).change(cckSelectOther.switch);

which I think because of switch is a keyword in javascript. Changing all occurences of switch to something else such as switchd seem to fix it.

CommentFileSizeAuthor
#1 848102.patch1.18 KBmradcliffe

Comments

mradcliffe’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new1.18 KB

I'll change it to switchField.

I don't think it was working in Safari either, but it is now.

mradcliffe’s picture

I would have tested in Chrome in linux, but Chrome requires a higher GCC version than I have. Too much effort to compile things again until my next upgrade. ;-)

k4ml’s picture

The patch work on 5.0.375.70 Beta on Ubuntu 8.04. Thanks.

mradcliffe’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.