-
Notifications
You must be signed in to change notification settings - Fork 684
Closed
Description
Hi,
I get this error (TypeError: _self._toggleState is not a function) in FireFox when I click the SelectAll option in the multiselect midget.
as a temporary fix I've changed this:
// select option tags
this.element.find('option').filter(function() {
if(!this.disabled && $.inArray(this.value, values) > -1) {
_self._toggleState('selected', flag).call(this);
}
});
to this:
// select option tags
this.element.find('option').filter(function() {
if(!this.disabled && $.inArray(this.value, values) > -1) {
//_self._toggleState('selected', flag).call(this);
if($(this).attr("selected") == "selected") {
$(this).removeAttr("selected");
} else {
$(this).attr("selected", "selected");
}
}
});
Metadata
Metadata
Assignees
Labels
No labels