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:
Daniel Meltzer 2017-02-06 20:04:36 -06:00 committed by snipe
parent d37b9fe169
commit 79f3ca3074
7 changed files with 153 additions and 153 deletions

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

View file

@ -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"
}

View file

@ -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