summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-09 08:32:30 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-09 08:32:30 -0400
commit0d0cf693ac1d8c9429959a41c118e335d0d94a55 (patch)
tree7c6b90403719cfd8c9852c28a3b44d647ea1e098 /application/palemoon
parent8e9e05da3d770daab326621b0ce42eb15d1cb740 (diff)
downloadUXP-0d0cf693ac1d8c9429959a41c118e335d0d94a55.tar
UXP-0d0cf693ac1d8c9429959a41c118e335d0d94a55.tar.gz
UXP-0d0cf693ac1d8c9429959a41c118e335d0d94a55.tar.lz
UXP-0d0cf693ac1d8c9429959a41c118e335d0d94a55.tar.xz
UXP-0d0cf693ac1d8c9429959a41c118e335d0d94a55.zip
[PALEMOON] Fix for loops in allDownloadsViewOverlay.js
(SyntaxError: missing ] after element list)
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/components/downloads/content/allDownloadsViewOverlay.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js b/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js
index e1d0e75d4..51f32601a 100644
--- a/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js
+++ b/application/palemoon/components/downloads/content/allDownloadsViewOverlay.js
@@ -1408,7 +1408,12 @@ DownloadsPlacesView.prototype = {
_copySelectedDownloadsToClipboard:
function DPV__copySelectedDownloadsToClipboard() {
let selectedElements = this._richlistbox.selectedItems;
- let urls = [e._shell.downloadURI for each (e in selectedElements)];
+ // Tycho: let urls = [e._shell.downloadURI for each (e in selectedElements)];
+ let urls = [];
+
+ for each (e in selectedElements) {
+ urls.push(e._shell.downloadURI);
+ }
Cc["@mozilla.org/widget/clipboardhelper;1"].
getService(Ci.nsIClipboardHelper).copyString(urls.join("\n"), document);