diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index fc7a98fe5..d2db0bc37 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -57,6 +57,7 @@ define(function () { out.viewers = "lecteurs"; out.editor = "éditeur"; out.editors = "éditeurs"; + out.userlist_offline = "Vous êtes actuellement hors-ligne, la liste des utilisateurs n'est pas disponible."; out.language = "Langue"; diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 734d493cf..c8ee82823 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -59,6 +59,7 @@ define(function () { out.viewers = "viewers"; out.editor = "editor"; out.editors = "editors"; + out.userlist_offline = "You're currently offline, the user list is not available."; out.language = "Language"; diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index bca41bd9b..4cb8011a4 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -154,6 +154,7 @@ define([ var $userlistContent = toolbar.userlistContent; var metadataMgr = config.metadataMgr; + var online = metadataMgr.isConnected(); var userData = metadataMgr.getMetadata().users; var viewers = metadataMgr.getViewers(); var priv = metadataMgr.getPrivateData(); @@ -184,7 +185,23 @@ define([ // Update the userlist var $editUsers = $userlistContent.find('.' + USERLIST_CLS).html(''); - var $editUsersList = $('