mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library
Issue #121
This commit is contained in:
parent
fea1a4d195
commit
45a39c1ff8
1 changed files with 4 additions and 0 deletions
|
|
@ -1443,6 +1443,10 @@ DownloadsPlacesView.prototype = {
|
|||
},
|
||||
|
||||
doCommand: function DPV_doCommand(aCommand) {
|
||||
// Commands may be invoked with keyboard shortcuts even if disabled.
|
||||
if (!this.isCommandEnabled(aCommand)) {
|
||||
return;
|
||||
}
|
||||
switch (aCommand) {
|
||||
case "cmd_copy":
|
||||
this._copySelectedDownloadsToClipboard();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue