Compare commits
No commits in common. "4.0.12-dev-retailcrm" and "develop" have entirely different histories.
4.0.12-dev
...
develop
5 changed files with 5 additions and 11 deletions
4
dist/js/select2.full.js
vendored
4
dist/js/select2.full.js
vendored
|
@ -3687,8 +3687,6 @@ S2.define('select2/data/tags',[
|
|||
}
|
||||
|
||||
function wrapper (obj, child) {
|
||||
var createTagForce = self.options.get('createTagForce') || false;
|
||||
|
||||
var data = obj.results;
|
||||
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
|
@ -3706,7 +3704,7 @@ S2.define('select2/data/tags',[
|
|||
|
||||
var checkText = optionText === paramsTerm;
|
||||
|
||||
if (!createTagForce && (checkText || checkChildren)) {
|
||||
if (checkText || checkChildren) {
|
||||
if (child) {
|
||||
return false;
|
||||
}
|
||||
|
|
2
dist/js/select2.full.min.js
vendored
2
dist/js/select2.full.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/select2.js
vendored
4
dist/js/select2.js
vendored
|
@ -3687,8 +3687,6 @@ S2.define('select2/data/tags',[
|
|||
}
|
||||
|
||||
function wrapper (obj, child) {
|
||||
var createTagForce = self.options.get('createTagForce') || false;
|
||||
|
||||
var data = obj.results;
|
||||
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
|
@ -3706,7 +3704,7 @@ S2.define('select2/data/tags',[
|
|||
|
||||
var checkText = optionText === paramsTerm;
|
||||
|
||||
if (!createTagForce && (checkText || checkChildren)) {
|
||||
if (checkText || checkChildren) {
|
||||
if (child) {
|
||||
return false;
|
||||
}
|
||||
|
|
2
dist/js/select2.min.js
vendored
2
dist/js/select2.min.js
vendored
File diff suppressed because one or more lines are too long
4
src/js/select2/data/tags.js
vendored
4
src/js/select2/data/tags.js
vendored
|
@ -41,8 +41,6 @@ define([
|
|||
}
|
||||
|
||||
function wrapper (obj, child) {
|
||||
var createTagForce = self.options.get('createTagForce') || false;
|
||||
|
||||
var data = obj.results;
|
||||
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
|
@ -60,7 +58,7 @@ define([
|
|||
|
||||
var checkText = optionText === paramsTerm;
|
||||
|
||||
if (!createTagForce && (checkText || checkChildren)) {
|
||||
if (checkText || checkChildren) {
|
||||
if (child) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue