Fix UI bug (#3149)

Upgrade to jquery 3.3.1: $('selector').context was deprecated,
and has been removed.

Fixes: #3148
This commit is contained in:
Frank Maximus 2019-01-30 18:47:42 +01:00 committed by Gabriel Beims Bräscher
parent 9c4292cc45
commit 00e6d5991d
1 changed files with 2 additions and 2 deletions

View File

@ -3001,9 +3001,9 @@
});
}
} else { //canenableindividualservice == true
if ($thisProviderDropdown.context.name in providerDropdownsForciblyChangedTogether) { //if this provider dropdown is one of provider dropdowns forcibly changed together earlier, make other forcibly changed provider dropdowns restore default option (i.e. 1st option in dropdown)
if (this.name in providerDropdownsForciblyChangedTogether) { //if this provider dropdown is one of provider dropdowns forcibly changed together earlier, make other forcibly changed provider dropdowns restore default option (i.e. 1st option in dropdown)
for (var key in providerDropdownsForciblyChangedTogether) {
if (key == $thisProviderDropdown.context.name)
if (key == this.name)
continue; //skip to next item in for loop
else
$("select[name='" + key + "'] option:first").attr("selected", "selected");