Sha256: cf3e7e4266d6e439d55ffb54e8bc8f6efa03342a7ab1501a1a4fe9e61c8be111
Contents?: true
Size: 524 Bytes
Versions: 13
Compression:
Stored size: 524 Bytes
Contents
$.fn.select2.defaults.set("theme", "bootstrap") decko.slotReady (slot) -> slot.find('select:not(._no-select2)').each (i) -> opts = { dropdownAutoWidth: "true", containerCssClass: ":all:", width: "auto" } if $(this).hasClass("tags") opts.tags = "true" $(this).select2(opts) # TODO: move to better place $('.colorpicker-component').colorpicker() # slot.find('.pointer-multiselect').each (i) -> # load_select2($(this)) # # slot.find('.pointer-select').each (i) -> # load_select2($(this))
Version data entries
13 entries across 13 versions & 1 rubygems