[X2Go-Commits] [pale-moon] 35/102: Fix incorrect file reference in `onDownloadDragStart`
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 25 23:25:47 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch upstream/28.4.0
in repository pale-moon.
commit 322d0be583c1dbc9d1dc1fe4212aed9c82bbbf7a
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date: Fri Jan 25 12:13:24 2019 +0100
Fix incorrect file reference in `onDownloadDragStart`
Follow-up to Janek's port in 462332eee018e24d88255c708fa8acb67a717673
where this variable was changed creating a mismatch with surrounding
code.
This fixes #943.
---
application/palemoon/components/downloads/content/downloads.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/application/palemoon/components/downloads/content/downloads.js b/application/palemoon/components/downloads/content/downloads.js
index ee72840..ee1c690 100644
--- a/application/palemoon/components/downloads/content/downloads.js
+++ b/application/palemoon/components/downloads/content/downloads.js
@@ -1038,9 +1038,9 @@ const DownloadsView = {
}
// We must check for existence synchronously because this is a DOM event.
- let file = new FileUtils.File(DownloadsView.controllerForElement(element)
- .download.target.path);
- if (!file.exists()) {
+ let localFile = new FileUtils.File(DownloadsView.controllerForElement(element)
+ .download.target.path);
+ if (!localFile.exists()) {
return;
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list