mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Update of select2
This commit is contained in:
parent
5f89de46cf
commit
1274d1ff6d
2
Resources/public/css/select2/select2.css
vendored
2
Resources/public/css/select2/select2.css
vendored
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Version: 3.5.3 Timestamp: Wed Aug 19 21:55:46 EDT 2015
|
||||
Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015
|
||||
*/
|
||||
.select2-container {
|
||||
margin: 0;
|
||||
|
12
Resources/public/js/select2/select2.js
vendored
12
Resources/public/js/select2/select2.js
vendored
@ -1,7 +1,7 @@
|
||||
/*
|
||||
Copyright 2012 Igor Vaynberg
|
||||
|
||||
Version: 3.5.3 Timestamp: Wed Aug 19 21:55:46 EDT 2015
|
||||
Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015
|
||||
|
||||
This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
|
||||
General Public License version 2 (the "GPL License"). You may choose either license to govern your
|
||||
@ -1023,14 +1023,14 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
|
||||
// data-select2-tags -> data-tags
|
||||
if (opts.element.data('tags') != null) {
|
||||
var tags = opts.element.data('tags');
|
||||
var elemTags = opts.element.data('tags');
|
||||
|
||||
// data-tags should actually be a boolean
|
||||
if (!$.isArray(tags)) {
|
||||
tags = [];
|
||||
if (!$.isArray(elemTags)) {
|
||||
elemTags = [];
|
||||
}
|
||||
|
||||
opts.element.data('select2Tags', tags);
|
||||
opts.element.data('select2Tags', elemTags);
|
||||
}
|
||||
|
||||
// sortResults -> sorter
|
||||
@ -2745,7 +2745,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
if (data == undefined) data = null;
|
||||
return data;
|
||||
} else {
|
||||
if (opts.debug && console && console.warn) {
|
||||
if (this.opts.debug && console && console.warn) {
|
||||
console.warn(
|
||||
'Select2: The `select2("data")` method can no longer set selected values in 4.0.0, ' +
|
||||
'consider using the `.val()` method instead.'
|
||||
|
8
Resources/public/js/select2/select2.min.js
vendored
8
Resources/public/js/select2/select2.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user