mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 11:29:00 +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",
|
||||
"label": "Security",
|
||||
"restart": true,
|
||||
"restart": false,
|
||||
"settings": [
|
||||
{
|
||||
"name": "http_username",
|
||||
|
|
|
@ -1372,12 +1372,12 @@ function badgeSidebarForDifferences(changedElement) {
|
|||
badgeValue += 1;
|
||||
|
||||
// add a reason to restart
|
||||
if(description && description.restart) {
|
||||
if(description && description.restart != false) {
|
||||
reasonsForRestart.push(setting);
|
||||
}
|
||||
} else {
|
||||
// remove a reason to restart
|
||||
if(description && description.restart) {
|
||||
if(description && description.restart != false) {
|
||||
reasonsForRestart = $.grep(reasonsForRestart, function(v) { return v != setting; });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue