|
|
@ -420,12 +420,12 @@ define([
|
|
|
|
embed: Util.isChecked($link.find('#cp-share-embed'))
|
|
|
|
embed: Util.isChecked($link.find('#cp-share-embed'))
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
Messages.share_linkOpen = "Open link"; // XXX
|
|
|
|
var linkButtons = [
|
|
|
|
var linkButtons = [
|
|
|
|
makeCancelButton(),
|
|
|
|
makeCancelButton(),
|
|
|
|
!opts.sharedFolder && {
|
|
|
|
!opts.sharedFolder && {
|
|
|
|
className: 'secondary cp-nobar',
|
|
|
|
className: 'secondary cp-nobar',
|
|
|
|
name: Messages.share_linkOpen,
|
|
|
|
name: Messages.share_linkOpen, // XXX add fa-eye icon
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
opts.saveValue();
|
|
|
|
opts.saveValue();
|
|
|
|
var v = opts.getLinkValue({
|
|
|
|
var v = opts.getLinkValue({
|
|
|
@ -441,7 +441,7 @@ define([
|
|
|
|
keys: [[13, 'ctrl']]
|
|
|
|
keys: [[13, 'ctrl']]
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
className: 'primary cp-nobar',
|
|
|
|
className: 'primary cp-nobar',
|
|
|
|
name: Messages.share_linkCopy,
|
|
|
|
name: Messages.share_linkCopy, // XXX add fa-link icon
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
opts.saveValue();
|
|
|
|
opts.saveValue();
|
|
|
|
var v = opts.getLinkValue({
|
|
|
|
var v = opts.getLinkValue({
|
|
|
|