Skip to content

Conversation

@davidworkman9
Copy link
Contributor

Fixed error menu is undefined error on line 32. Changed .data('multiselect'); to .data('echMultiselect');
Added var _self = this; on line 62 of the toggleChecked override function so that the options in the original select get modified when checks get toggled.

Fixed error menu is undefined error on line 32. Changed .data('multiselect'); to .data('echMultiselect');
Added var _self = this; on line 62 of the toggleChecked override function so that the options in the original select get modified when checks get toggled.
@ehynds
Copy link
Owner

ehynds commented Feb 6, 2013

you're the man. what's the data('echMultiselect') change about?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change these few lines to something like:

var elem = $(this.element);
var instance = (this.instance = (elem.data("echMultiselect") || elem.data("multiselect")));

So that we can maintain 1.8 compatibility? Then I'll merge. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem. This doesn't actually make it backwards compatible. I tested this with 1.9.0 jQuery along with jQuery UI 1.10.0(newest stuff) and jQuery 1.5.0 along with jQuery UI 1.8.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants