Changes between Initial Version and Version 1 of Ticket #10662, comment 2
- Timestamp:
- Oct 22, 2014, 7:09:33 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10662, comment 2
initial v1 1 1 I changed selectmenu javascript... can you please check if my solutions is right? 2 2 in _refreshMenu: function() i change from this lines: 3 {{{ 3 4 if ( !options.length ) { 4 5 return; … … 10 11 this.menuInstance.refresh(); 11 12 this.menuItems = this.menu.find( "li" ).not( ".ui-selectmenu-optgroup" ); 13 }}} 12 14 to this lines: 15 {{{ 13 16 this._parseOptions( options ); 14 17 this._renderMenu( this.menu, this.items ); … … 21 24 22 25 this.menuInstance.refresh(); 23 26 }}} 24 27 and in open: function( event ) i change this line: 28 {{{ 25 29 if ( !this.menuItems ) { 30 }}} 26 31 to this line: 32 {{{ 27 33 if ( !this.menuItems || this.menuItems.length==0) { 34 }}}