mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
Changed domain server restart/save button behavior to be correct
This commit is contained in:
parent
3d4b9c82aa
commit
705ce4c789
2 changed files with 3 additions and 3 deletions
|
@ -147,7 +147,7 @@
|
||||||
{
|
{
|
||||||
"name": "security",
|
"name": "security",
|
||||||
"label": "Security",
|
"label": "Security",
|
||||||
"restart": true,
|
"restart": false,
|
||||||
"settings": [
|
"settings": [
|
||||||
{
|
{
|
||||||
"name": "http_username",
|
"name": "http_username",
|
||||||
|
|
|
@ -1372,12 +1372,12 @@ function badgeSidebarForDifferences(changedElement) {
|
||||||
badgeValue += 1;
|
badgeValue += 1;
|
||||||
|
|
||||||
// add a reason to restart
|
// add a reason to restart
|
||||||
if(description && description.restart) {
|
if(description && description.restart != false) {
|
||||||
reasonsForRestart.push(setting);
|
reasonsForRestart.push(setting);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// remove a reason to restart
|
// remove a reason to restart
|
||||||
if(description && description.restart) {
|
if(description && description.restart != false) {
|
||||||
reasonsForRestart = $.grep(reasonsForRestart, function(v) { return v != setting; });
|
reasonsForRestart = $.grep(reasonsForRestart, function(v) { return v != setting; });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue