update name in sidebar, fixes #27
This commit is contained in:
parent
499c6ebc56
commit
0a8a335cdc
1 changed files with 1 additions and 0 deletions
|
@ -430,6 +430,7 @@ oml.ui.preferencesDialog = function() {
|
||||||
value = data.data.value[0];
|
value = data.data.value[0];
|
||||||
if (key == 'username') {
|
if (key == 'username') {
|
||||||
value = oml.getValidName(value, [], ':');
|
value = oml.getValidName(value, [], ':');
|
||||||
|
oml.$ui.folder[0].options('title', Ox.encodeHTMLEntities(value));
|
||||||
}
|
}
|
||||||
if (key in oml.config.user.preferences) {
|
if (key in oml.config.user.preferences) {
|
||||||
oml.Preferences.set(key, value);
|
oml.Preferences.set(key, value);
|
||||||
|
|
Loading…
Reference in a new issue