3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 16:55:31 +02:00

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
domain-server/resources

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