| | |
| | | .appendTo( wrapper ) |
| | | .val( value ) |
| | | .addClass( "ui-state-default ui-combobox-input" ) |
| | | .css( { "width": elwidth - 15, "height": elheight }) |
| | | .css( { "width": (elwidth > 15 ? elwidth - 15 : 1), "height": elheight }) |
| | | .autocomplete({ |
| | | delay: 0, |
| | | minLength: 0, |
| | |
| | | self._trigger( "selected", event, { |
| | | item: ui.item.option |
| | | }); |
| | | if((select.onchange || false) && typeof select.onchange == 'function') { |
| | | select.onchange( { target: select } ); |
| | | } else if($(select).attr('onchange')) { |
| | | eval($(select).attr('onchange')); |
| | | } |
| | | if (jQuery(".panel #Filter").length > 0) { |
| | | jQuery(".panel #Filter").trigger('click'); |
| | | } |