Sha256: 5902bd9c55833f99846d2cf1fe2f3192e1d70ecc1fc0e0e2a67513ebd14005ab

Contents?: true

Size: 635 Bytes

Versions: 21

Compression:

Stored size: 635 Bytes

Contents

$(document).ready ->
  $('.bs-multiselect').each ->
    $(this).multiselect
      enableCaseInsensitiveFiltering: true
      enableFiltering: true
      filterBehavior: 'text' # The other option is value but dont change this. Things will break!
      includeSelectAllOption: false
      maxHeight: 400
      numberDisplayed: 1

  # 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

21 entries across 21 versions & 1 rubygems

Version Path
biola_wcms_components-0.25.4 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.25.3 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.25.2 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.25.1 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.25.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.24.3 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.24.2 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.24.1 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.24.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.23.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.22.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.21.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.20.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.19.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.18.1 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.18.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.17.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.16.0 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.15.3 app/assets/javascripts/components/forms/multiselect.js.coffee
biola_wcms_components-0.15.2 app/assets/javascripts/components/forms/multiselect.js.coffee