mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Modify the jquery that fires select2 to prevent it being run twice on the importer vue select2 (which is created separately). (#3276)
This commit is contained in:
parent
d37b9fe169
commit
79f3ca3074
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"assets/css/app.css": "assets/css/app-d98e951062.css",
|
||||
"assets/js/all.js": "assets/js/all-0c172586e9.js"
|
||||
"assets/js/all.js": "assets/js/all-af13f4d46c.js"
|
||||
}
|
|
@ -140,7 +140,7 @@ $(document).ready(function () {
|
|||
{
|
||||
// Vue collision: Avoid overriding a vue select2 instance
|
||||
// by checking to see if the item has already been select2'd.
|
||||
$('.select2:not([class^="select2-container"])').each((i,obj) => {
|
||||
$('select.select2:not(".select2-hidden-accessible")').each((i,obj) => {
|
||||
{
|
||||
$(obj).select2();
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue