Fix the Ctrl key + click to select multiple files
This commit is contained in:
parent
1a7c4d5ebe
commit
834830fc4f
@ -2201,6 +2201,8 @@ define([
|
|||||||
.click(function () { $(this).select(); })
|
.click(function () { $(this).select(); })
|
||||||
.appendTo($d);
|
.appendTo($d);
|
||||||
}
|
}
|
||||||
|
var parsed = Cryptpad.parsePadUrl(el);
|
||||||
|
if (parsed.hashData && parsed.hashData.type === 'pad') {
|
||||||
var roLink = ro ? base + el : getReadOnlyUrl(base + el);
|
var roLink = ro ? base + el : getReadOnlyUrl(base + el);
|
||||||
if (roLink) {
|
if (roLink) {
|
||||||
$('<label>', {'for': 'propROLink'}).text(Messages.viewShare).appendTo($d);
|
$('<label>', {'for': 'propROLink'}).text(Messages.viewShare).appendTo($d);
|
||||||
@ -2208,6 +2210,7 @@ define([
|
|||||||
.click(function () { $(this).select(); })
|
.click(function () { $(this).select(); })
|
||||||
.appendTo($d);
|
.appendTo($d);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (APP.loggedIn && AppConfig.enablePinning) {
|
if (APP.loggedIn && AppConfig.enablePinning) {
|
||||||
// check the size of this file...
|
// check the size of this file...
|
||||||
@ -2440,12 +2443,12 @@ define([
|
|||||||
$appContainer.on('mouseup', function (e) {
|
$appContainer.on('mouseup', function (e) {
|
||||||
if (sel.down) { return; }
|
if (sel.down) { return; }
|
||||||
if (e.which !== 1) { return ; }
|
if (e.which !== 1) { return ; }
|
||||||
removeSelected(e);
|
module.hideMenu(e);
|
||||||
|
//removeSelected(e);
|
||||||
});
|
});
|
||||||
$appContainer.on('click', function (e) {
|
$appContainer.on('click', function (e) {
|
||||||
if (e.which !== 1) { return ; }
|
if (e.which !== 1) { return ; }
|
||||||
removeInput();
|
removeInput();
|
||||||
module.hideMenu(e);
|
|
||||||
hideNewButton();
|
hideNewButton();
|
||||||
});
|
});
|
||||||
$appContainer.on('drag drop', function (e) {
|
$appContainer.on('drag drop', function (e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user