From 0a8a335cdc037bb850517ac3437bbc46757a9b90 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 5 Jan 2016 10:01:08 +0530 Subject: [PATCH] update name in sidebar, fixes #27 --- static/js/preferencesDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/preferencesDialog.js b/static/js/preferencesDialog.js index 4e41f8c..574ef57 100644 --- a/static/js/preferencesDialog.js +++ b/static/js/preferencesDialog.js @@ -430,6 +430,7 @@ oml.ui.preferencesDialog = function() { value = data.data.value[0]; if (key == 'username') { value = oml.getValidName(value, [], ':'); + oml.$ui.folder[0].options('title', Ox.encodeHTMLEntities(value)); } if (key in oml.config.user.preferences) { oml.Preferences.set(key, value);