Share with friends from sframe and drive

This commit is contained in:
yflory
2019-06-04 15:57:39 +02:00
parent 41c3b38a11
commit c154d020b2
10 changed files with 119 additions and 157 deletions

View File

@@ -491,7 +491,7 @@ MessengerUI, Messages) {
if ($messagebox.length) {
$messagebox.scrollTop($messagebox[0].scrollHeight);
}
$button.addClass('cp-toolbar-button-active');
config.$contentContainer.addClass('cp-chat-visible');
$button.removeClass('cp-toolbar-notification');
@@ -532,7 +532,9 @@ MessengerUI, Messages) {
hidden: true
});
$shareBlock.click(function () {
Common.getSframeChannel().event('EV_SHARE_OPEN', {});
Common.getSframeChannel().event('EV_SHARE_OPEN', {
title: Common.getMetadataMgr().getMetadata().title
});
});
toolbar.$leftside.append($shareBlock);