Sha256: 14058f62b0435a5b378a5ee22a6fd44fa32756df5e07eaa0ba988d45d4bbe808

Contents?: true

Size: 389 Bytes

Versions: 31

Compression:

Stored size: 389 Bytes

Contents

jQuery(document).ready(function() {
  jQuery(document).on('as:element_updated', function(event) {
    jQuery('select.chosen', event.target).chosen();
  });
  jQuery(document).on('as:action_success', 'a.as_action', function(event, action_link) {
    if (action_link.adapter) {
      jQuery('select.chosen', action_link.adapter).chosen();
    }
  });
  jQuery('select.chosen').chosen();
});

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
active_scaffold-3.4.2 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.4.1 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.4.0.1 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.4.0 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.3 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.2 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.1 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.0 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.0.rc3 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.0.rc2 app/assets/javascripts/jquery/active_scaffold_chosen.js
active_scaffold-3.3.0.rc app/assets/javascripts/jquery/active_scaffold_chosen.js