|
|
@ -308,7 +308,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
toolbar.userlistContent = $content;
|
|
|
|
toolbar.userlistContent = $content;
|
|
|
|
|
|
|
|
|
|
|
|
var $container = $('<span>', {id: 'userButtons'});
|
|
|
|
var $container = $('<span>', {id: 'userButtons', title: Messages.userListButton});
|
|
|
|
|
|
|
|
|
|
|
|
var $button = $('<button>').appendTo($container);
|
|
|
|
var $button = $('<button>').appendTo($container);
|
|
|
|
$('<span>',{'class': 'buttonTitle'}).appendTo($button);
|
|
|
|
$('<span>',{'class': 'buttonTitle'}).appendTo($button);
|
|
|
@ -446,6 +446,7 @@ define([
|
|
|
|
//$shareBlock.find('button').attr('id', 'shareButton');
|
|
|
|
//$shareBlock.find('button').attr('id', 'shareButton');
|
|
|
|
$shareBlock.find('.dropdown-bar-content').addClass(SHARE_CLS).addClass(EDITSHARE_CLS).addClass(VIEWSHARE_CLS);
|
|
|
|
$shareBlock.find('.dropdown-bar-content').addClass(SHARE_CLS).addClass(EDITSHARE_CLS).addClass(VIEWSHARE_CLS);
|
|
|
|
$shareBlock.addClass('shareButton');
|
|
|
|
$shareBlock.addClass('shareButton');
|
|
|
|
|
|
|
|
$shareBlock.attr('title', Messages.shareButton);
|
|
|
|
|
|
|
|
|
|
|
|
if (hashes.editHash) {
|
|
|
|
if (hashes.editHash) {
|
|
|
|
$shareBlock.find('a.editShare').click(function () {
|
|
|
|
$shareBlock.find('a.editShare').click(function () {
|
|
|
@ -760,6 +761,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
var createUserAdmin = function (toolbar, config) {
|
|
|
|
var createUserAdmin = function (toolbar, config) {
|
|
|
|
var $userAdmin = toolbar.$userAdmin.find('.'+USERADMIN_CLS).show();
|
|
|
|
var $userAdmin = toolbar.$userAdmin.find('.'+USERADMIN_CLS).show();
|
|
|
|
|
|
|
|
$userAdmin.attr('title', Messages.userAccountButton);
|
|
|
|
var userMenuCfg = {
|
|
|
|
var userMenuCfg = {
|
|
|
|
$initBlock: $userAdmin
|
|
|
|
$initBlock: $userAdmin
|
|
|
|
};
|
|
|
|
};
|
|
|
|