File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
_create : function ( ) {
29
29
var opts = this . options ;
30
+ var elem = $ ( this . element ) ;
30
31
31
32
// get the multiselect instance
32
- var instance = ( this . instance = $ ( this . element ) . data ( 'echMultiselect' ) ) ;
33
+ var instance = ( this . instance = ( elem . data ( 'echMultiselect' ) || elem . data ( "multiselect" ) ) ) ;
33
34
34
35
// store header; add filter class so the close/check all/uncheck all links can be positioned correctly
35
36
var header = ( this . header = instance . menu . find ( '.ui-multiselect-header' ) . addClass ( 'ui-multiselect-hasfilter' ) ) ;
65
66
var selector = instance . _isOpen ? ':disabled, :hidden' : ':disabled' ;
66
67
67
68
$inputs = $inputs
68
- . not ( selector )
69
- . each ( this . _toggleState ( 'checked' , flag ) ) ;
69
+ . not ( selector )
70
+ . each ( this . _toggleState ( 'checked' , flag ) ) ;
70
71
71
72
// update text
72
73
this . update ( ) ;
You can’t perform that action at this time.
0 commit comments