Move the 'logged out' screen inside the sframe

This commit is contained in:
yflory
2017-11-13 17:28:09 +01:00
parent 5a2afb5c95
commit 1514ad5df3
9 changed files with 49 additions and 29 deletions

View File

@@ -1038,7 +1038,7 @@ define([
initClickEvents(toolbar, config);
initNotifications(toolbar, config);
toolbar.failed = function () {
var failed = toolbar.failed = function () {
toolbar.connected = false;
if (toolbar.spinner) {
@@ -1079,12 +1079,11 @@ define([
};
// On log out, remove permanently the realtime elements of the toolbar
// TODO
/*Common.onLogout(function () {
Common.onLogout(function () {
failed();
if (toolbar.useradmin) { toolbar.useradmin.hide(); }
if (toolbar.userlist) { toolbar.userlist.hide(); }
});*/
});
return toolbar;
};