Changed domain server restart/save button behavior to be correct

This commit is contained in:
seefo 2017-06-19 12:09:20 -07:00
parent 3d4b9c82aa
commit 705ce4c789
2 changed files with 3 additions and 3 deletions

View file

@ -147,7 +147,7 @@
{
"name": "security",
"label": "Security",
"restart": true,
"restart": false,
"settings": [
{
"name": "http_username",

View file

@ -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; });
}
}