Improve UI, scrollbar in the table, publish/admin buttons

This commit is contained in:
yflory
2016-12-05 18:54:46 +01:00
parent 90804ed9e0
commit 6dff82ede2
8 changed files with 98 additions and 30 deletions

View File

@@ -202,14 +202,14 @@ define([
var updateUserList = function (myUserName, userlistElement, userList, userData, readOnly, $stateElement, $userAdminElement) {
var meIdx = userList.indexOf(myUserName);
if (meIdx === -1) {
console.log('nok');
$stateElement.text(Messages.synchronizing);
return;
}
$stateElement.text('');
// Make sure the elements are displayed
var $userButtons = $(userlistElement).find("#userButtons");
$userButtons.show();
$userButtons.attr('display', 'inline');
var numberOfUsers = userList.length;