mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-21 16:29:27 +02:00
Made requested changes to domain server settings.js
This commit is contained in:
parent
705ce4c789
commit
1619d877d3
1 changed files with 4 additions and 4 deletions
|
@ -1329,8 +1329,8 @@ function makeTableCategoryInput(setting, numVisibleColumns) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDescriptionForKey(key) {
|
function getDescriptionForKey(key) {
|
||||||
for(var i in Settings.data.descriptions) {
|
for (var i in Settings.data.descriptions) {
|
||||||
if(Settings.data.descriptions[i].name === key) {
|
if (Settings.data.descriptions[i].name === key) {
|
||||||
return Settings.data.descriptions[i];
|
return Settings.data.descriptions[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 != false) {
|
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 != false) {
|
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