From 8d7b1714dacbbb5be88fc5a20cc9a775ade4809f 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 5361901e117c..d23299307624 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) {