Sha256: 19869926e05a0733ac87a4c56a3d383bb708811d528a5dc83d00ead3cfd9884c

Contents?: true

Size: 420 Bytes

Versions: 33

Compression:

Stored size: 420 Bytes

Contents

/* combobox */
(function($) {
    $.fn.hjq_combobox = function(annotations) {
        var select = this.find('select');
        if(!select.attr('disabled')) {
            var options = this.hjq('getOptions', annotations);
            options.selected = options.selected || function(event, ui) {
                $(this).trigger('change');
            }
            select.combobox(options);
        }
    }
})( jQuery );

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo_jquery_ui-2.0.0.pre6 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-2.0.0.pre5 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-2.0.0.pre4 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-2.0.0.pre3 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-2.0.0.pre2 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-2.0.0.pre1 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre8 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre7 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre6 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre5 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre4 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre3 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js
hobo_jquery_ui-1.4.0.pre2 vendor/assets/javascripts/hobo-jquery-ui/hjq-combobox.js