Fix typos in server-config form. Fix whitespace

This commit is contained in:
amcmanu3 2023-02-10 14:48:19 -05:00
parent 87fdb1627c
commit 6d0ec12a6f
2 changed files with 2 additions and 4 deletions

View File

@ -1586,7 +1586,7 @@ class PanelHandler(BaseHandler):
logs_delete_after = int(float(self.get_argument("logs_delete_after", "0")))
java_selection = self.get_argument("java_selection", None)
# make sure there is no whitespace
ignored_exits = " ".join(self.get_argument("ignored_exits", "").split())
ignored_exits = self.get_argument("ignored_exits", "").replace(" ", "")
# subpage = self.get_argument('subpage', None)
server_id = self.check_server_id()

View File

@ -188,9 +188,7 @@
<label for="ignored_exits">{{ translate('serverConfig', 'ignoredExits', data['lang']) }}
<small class="text-muted ml-1"> - {{ translate('serverConfig', 'ignoredExitsExplain',
data['lang'])
}}&nbsp;
{{ data['server_stats']['server_id']['ignored_exits'] }}&nbsp;{{ translate('serverConfig',
'timeoutExplain2', data['lang']) }}
}}
</small> </label>
<input type="text" class="form-control" name="ignored_exits" id="ignored_exits"
value="{{ data['server_stats']['server_id']['ignored_exits'] }}">