From 758bdd6040960ee758c543bd44e9401107fa7657 Mon Sep 17 00:00:00 2001 From: Gary Houston Date: Mon, 23 Dec 2013 09:03:25 +0000 Subject: [PATCH] Bug 951993 - Fix undefined mMode when called from file input in HTML form. r=baku --- toolkit/components/filepicker/nsFilePicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/filepicker/nsFilePicker.js b/toolkit/components/filepicker/nsFilePicker.js index 5a0f94038dc3..6d79b5a38953 100644 --- a/toolkit/components/filepicker/nsFilePicker.js +++ b/toolkit/components/filepicker/nsFilePicker.js @@ -167,7 +167,7 @@ nsFilePicker.prototype = { get addToRecentDocs() { return false; }, /* readonly attribute short mode; */ - get mode() { return mMode; }, + get mode() { return this.mMode; }, /* members */ mFilesEnumerator: undefined,