From 5d34b5019269a57bb2236f44f97387432af2b2a3 Mon Sep 17 00:00:00 2001 From: "mike.morgan%oregonstate.edu" Date: Mon, 18 Sep 2006 19:14:23 +0000 Subject: [PATCH] Checking in minor fix for install.js to remove console errors for people who browse with their console open. :) See bug 348421. --- webtools/addons/public/htdocs/js/install.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webtools/addons/public/htdocs/js/install.js b/webtools/addons/public/htdocs/js/install.js index 5361901e117..d2329930762 100644 --- a/webtools/addons/public/htdocs/js/install.js +++ b/webtools/addons/public/htdocs/js/install.js @@ -21,12 +21,11 @@ else function getPlatformName() { - aPlatform = gPlatform; - if (aPlatform == PLATFORM_WINDOWS) + if (gPlatform == PLATFORM_WINDOWS) return "Windows"; - if (aPlatform == PLATFORM_LINUX) + if (gPlatform == PLATFORM_LINUX) return "Linux"; - if (aPlatform == PLATFORM_MACOSX) + if (gPlatform == PLATFORM_MACOSX) return "MacOSX"; return "Unknown"; } @@ -64,6 +63,7 @@ function install( aEvent, extName, iconURL, extHash) { return false; } + return true; } function installTheme( aEvent, extName) {