Open GoogleCodeExporter opened 8 years ago
I get this behaviour with IE8 too! Regardless of whether compatibility view is
on.
Scenario: a multi-select with 1 item already selected.
Steps:
1. select a second item
2. remove the item that was just selected.
3. upon clicking the drop-down, the error occurs.
jquery.asmselect.js: line 262: attr(...) is null or not an object
Original comment by petersum...@gmail.com
on 24 Jan 2010 at 4:52
Quick work-around (not widely tested - but fixes the problem on IE8):
change line 127 from:
addListItem(id);
to:
if (id) {
addListItem(id);
}
--
This stopped the bug from occurring in my environment.
Original comment by petersum...@gmail.com
on 24 Jan 2010 at 5:01
confirmed: the suggested fix also works on IE6
Original comment by cykedeli...@gmail.com
on 29 Jun 2010 at 9:55
update: on IE6, the said work-around does fix the issue, but a different issue
arises, that lets you add an already-selected item twice.
suggested modification to the work-around is to 'widen' the if-block to include
the next two lines. i.e., from:
if (id) {
addListItem(id);
}
Change To:
if (id) {
addListItem(id);
ieClick = false;
triggerOriginalChange(id, 'add');
}
Original comment by cykedeli...@gmail.com
on 29 Jun 2010 at 10:07
Thanks for posting this fix. I am including it in 1.0.5.
Original comment by ryancram...@gmail.com
on 10 Jul 2010 at 4:02
Original issue reported on code.google.com by
mikko.la...@mediware.fi
on 26 Oct 2009 at 3:03