|
|
@ -546,6 +546,9 @@ MessengerUI, Messages) {
|
|
|
|
hidden: true
|
|
|
|
hidden: true
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$shareBlock.click(function () {
|
|
|
|
$shareBlock.click(function () {
|
|
|
|
|
|
|
|
if (toolbar.isDeleted) {
|
|
|
|
|
|
|
|
return void UI.warn(Messages.deletedFromServer);
|
|
|
|
|
|
|
|
}
|
|
|
|
var title = (config.title && config.title.getTitle && config.title.getTitle())
|
|
|
|
var title = (config.title && config.title.getTitle && config.title.getTitle())
|
|
|
|
|| (config.title && config.title.defaultName)
|
|
|
|
|| (config.title && config.title.defaultName)
|
|
|
|
|| "";
|
|
|
|
|| "";
|
|
|
@ -569,6 +572,9 @@ MessengerUI, Messages) {
|
|
|
|
h('span.cp-button-name', Messages.accessButton)
|
|
|
|
h('span.cp-button-name', Messages.accessButton)
|
|
|
|
]));
|
|
|
|
]));
|
|
|
|
$accessBlock.click(function () {
|
|
|
|
$accessBlock.click(function () {
|
|
|
|
|
|
|
|
if (toolbar.isDeleted) {
|
|
|
|
|
|
|
|
return void UI.warn(Messages.deletedFromServer);
|
|
|
|
|
|
|
|
}
|
|
|
|
var title = (config.title && config.title.getTitle && config.title.getTitle())
|
|
|
|
var title = (config.title && config.title.getTitle && config.title.getTitle())
|
|
|
|
|| (config.title && config.title.defaultName)
|
|
|
|
|| (config.title && config.title.defaultName)
|
|
|
|
|| "";
|
|
|
|
|| "";
|
|
|
|