Sha256: 34e52048b632b80d95eda02859979399a29aaaab72a445ddfe963272629c07be

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

Stored size: 443 Bytes

Contents

$(document).ready ->
  $('.bs-multiselect').each ->
    $(this).multiselect
      enableFiltering: true,
      filterBehavior: 'value'

  # Replace glyphicons with fonticons
  if $('.bs-multiselect').length > 0
    $('i.glyphicon.glyphicon-search').removeClass('glyphicon glyphicon-search').addClass('fa fa-search');
    $('i.glyphicon.glyphicon-remove-circle').removeClass('glyphicon glyphicon-remove-circle').addClass('fa fa-times-circle');

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
biola_wcms_components-0.12.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.11.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.10.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.9.1 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.9.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.8.0 app/assets/javascripts/components/forms/multiselect.js.coffee