mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 08:42:59 -07:00
Revert negative operator values to "OR" (UI change only)
This commit is contained in:
parent
ebb287e1ee
commit
e3b71a729e
2 changed files with 0 additions and 18 deletions
|
@ -134,9 +134,6 @@ div.form-control .selectize-input {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
.react-selectize.root-node .react-selectize-control .react-selectize-search-field-and-selected-values.negative-operator .value-wrapper:not(:first-child):before {
|
|
||||||
content: "and" !important;
|
|
||||||
}
|
|
||||||
.react-selectize.root-node .react-selectize-control .react-selectize-search-field-and-selected-values .resizable-input {
|
.react-selectize.root-node .react-selectize-control .react-selectize-search-field-and-selected-values .resizable-input {
|
||||||
padding-top: 3px !important;
|
padding-top: 3px !important;
|
||||||
padding-bottom: 3px !important;
|
padding-bottom: 3px !important;
|
||||||
|
|
|
@ -340,21 +340,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function setNegativeOperator(select) {
|
|
||||||
if (select.val() === 'does not contain' || select.val() === 'is not') {
|
|
||||||
select.closest('.form-group').find('.react-selectize-search-field-and-selected-values').addClass('negative-operator');
|
|
||||||
} else {
|
|
||||||
select.closest('.form-group').find('.react-selectize-search-field-and-selected-values').removeClass('negative-operator');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#condition-widget select[name=operator]').each(function () {
|
|
||||||
setNegativeOperator($(this));
|
|
||||||
});
|
|
||||||
$('#condition-widget').on('change', 'select[name=operator]', function () {
|
|
||||||
setNegativeOperator($(this));
|
|
||||||
});
|
|
||||||
|
|
||||||
function reloadModal() {
|
function reloadModal() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'get_notifier_config_modal',
|
url: 'get_notifier_config_modal',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue