rename select2 variable to other name, to solve conflict with other plugins

This commit is contained in:
Alexander Meindl 2019-06-15 11:12:12 +02:00
parent 173335f1b5
commit ab29f56b85

View File

@ -51,9 +51,9 @@ function setSelect2Filter(type, options) {
select2Filters[type] = options;
}
var originBuildFilterRow = buildFilterRow;
var oldBuildFilterRow = buildFilterRow;
buildFilterRow = function (field, operator, values) {
originBuildFilterRow(field, operator, values);
oldBuildFilterRow(field, operator, values);
var options = select2Options(field);
if (options) {