snipe-it/resources/assets/js
Till Deeke 07a92d20d7 Fixing #5773: Refactoring the "clearing" of select2 lists (#5839)
* adds select2 placeholders to select lists

To allow us to clear the selection on „select2“ selects, we need a placeholder attribute

See: https://select2.org/placeholders

* Removes empty option from multiple select

select2 requires an empty option value on singular selects, but not on multiple selects.

When selecting multiple options, this empty option would be shown as selectable otherwise, not clearing the selection.

* Adds the option to clear select2 instances

Sets the correct options to allow clearing of out select2 instances. The empty placeholder is required, since clearing only works when a placeholder ist set (event an empty one).

See: https://select2.org/placeholders

* Removes the „Clear selection“ option from select lists

Since we can clear the select2 lists with their native clearing method, we can remove this hack

* Updates generated assets (css/js)
2018-07-16 14:10:54 -07:00
..
components Tweaked custom field default value layout 2018-07-05 15:31:27 -07:00
plugins Removed old unused files 2017-03-03 19:28:08 -08:00
app.js Disable Fastclick - conflicts with Select2, per #4392 2017-11-06 21:16:20 -08:00
bootstrap-js.js Fixing JS to actually use vue 2017-01-11 01:02:32 -08:00
bootstrap-table.js Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
bootstrap.datepicker.js Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
bootstrap.js Importer mapping - v1 (#3677) 2017-06-21 16:37:37 -07:00
bootstrap.min.js Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
ekko-lightbox.js Use lightbox for images in asset file listing 2016-03-25 20:38:27 -07:00
ekko-lightbox.min.js Use lightbox for images in asset file listing 2016-03-25 20:38:27 -07:00
html5.js Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
pGenerator.jquery.js Cleanup js and CSS elixir stuff 2016-03-25 03:36:37 -07:00
sb-admin-2.js Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
snipeit.js Fixing #5773: Refactoring the "clearing" of select2 lists (#5839) 2018-07-16 14:10:54 -07:00
snipeit_modals.js Removed console logging from JS 2018-01-20 07:42:48 -08:00
theme.js Stop double-loading jquery 2017-01-11 05:51:13 -08:00
vue.js Feature/custom fields default values (#5389) 2018-04-23 21:16:55 -07:00