From 28a68bbaad90cc015c110be123ea9a1ebc2c5a3b Mon Sep 17 00:00:00 2001 From: Marco Bonardo Date: Mon, 7 Jan 2013 20:16:27 +0100 Subject: [PATCH] Bug 827164 - Double-click to open exe downloads not working. r=Mano --- browser/components/downloads/src/DownloadsCommon.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/downloads/src/DownloadsCommon.jsm b/browser/components/downloads/src/DownloadsCommon.jsm index fd8e66550141..61b16c0b0c1b 100644 --- a/browser/components/downloads/src/DownloadsCommon.jsm +++ b/browser/components/downloads/src/DownloadsCommon.jsm @@ -437,7 +437,7 @@ this.DownloadsCommon = { } if (showAlert) { - let name = this.dataItem.target; + let name = aFile.leafName; let message = DownloadsCommon.strings.fileExecutableSecurityWarning(name, name); let title =