|
|
|
@ -2201,6 +2201,8 @@ define([
|
|
|
|
|
.click(function () { $(this).select(); })
|
|
|
|
|
.appendTo($d);
|
|
|
|
|
}
|
|
|
|
|
var parsed = Cryptpad.parsePadUrl(el);
|
|
|
|
|
if (parsed.hashData && parsed.hashData.type === 'pad') {
|
|
|
|
|
var roLink = ro ? base + el : getReadOnlyUrl(base + el);
|
|
|
|
|
if (roLink) {
|
|
|
|
|
$('<label>', {'for': 'propROLink'}).text(Messages.viewShare).appendTo($d);
|
|
|
|
@ -2208,6 +2210,7 @@ define([
|
|
|
|
|
.click(function () { $(this).select(); })
|
|
|
|
|
.appendTo($d);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (APP.loggedIn && AppConfig.enablePinning) {
|
|
|
|
|
// check the size of this file...
|
|
|
|
@ -2440,12 +2443,12 @@ define([
|
|
|
|
|
$appContainer.on('mouseup', function (e) {
|
|
|
|
|
if (sel.down) { return; }
|
|
|
|
|
if (e.which !== 1) { return ; }
|
|
|
|
|
removeSelected(e);
|
|
|
|
|
module.hideMenu(e);
|
|
|
|
|
//removeSelected(e);
|
|
|
|
|
});
|
|
|
|
|
$appContainer.on('click', function (e) {
|
|
|
|
|
if (e.which !== 1) { return ; }
|
|
|
|
|
removeInput();
|
|
|
|
|
module.hideMenu(e);
|
|
|
|
|
hideNewButton();
|
|
|
|
|
});
|
|
|
|
|
$appContainer.on('drag drop', function (e) {
|
|
|
|
|