Reload all tabs when the user logs in or out

This commit is contained in:
yflory committed 2017-01-16 14:08:44 +01:00
1 parent efed1f5efe
commit a9063e0459
9 files changed
+69 -21

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ define([
if (!APP.readOnly) {
getLastName(function (err, lastName) {
APP.userName.lastName = lastName;
APP.$displayName.text(lastName);
APP.$displayName.text(lastName || Messages.anonymous);
});
} else {
APP.$displayName.html('<span class="' + Toolbar.constants.readonly + '">' + Messages.readonly + '</span>');