leoherrick / jquery.mutuallyExclusive

Mutually Exclusive JQuery Plugin
GNU General Public License v3.0
4 stars 5 forks source link

Firefox Incompatibility #3

Open durdlelot opened 11 years ago

durdlelot commented 11 years ago

Doesn't work in Firefox 23 (Linux Mint). I have 10 select lists each sharing the options of the others. The second select takes on the last value in the list and no other values are selectable.

Suggested fix (untested in I.E.):

Change line 32 from:

$select.html($select.data('original_option_list'));

to

$select.options = $select.data('original_option_list');

Result: expected behavior in both Chrome and Firefox 23

leoherrick commented 11 years ago

Thanks... I'll take a look