From bbb83656bf83c9740fe68db7e35e05ea4f129b01 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 30 Nov 2011 22:02:09 -0500 Subject: [PATCH] extensionSystem: Set the proper 'enabled' and 'type' parameters When installing an extension at runtime, we accidentally swapped the 'type' and 'enabled' parameters. While this doesn't directly affect anything right now, as everything works coincidentally, future patches that look at the 'type' parameter to decide what to do would get the wrong answer. --- js/ui/extensionSystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index a0302fe02..9aadb3afd 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -202,7 +202,7 @@ function gotExtensionZipFile(session, message, uuid) { global.settings.set_strv(ENABLED_EXTENSIONS_KEY, enabledExtensions); } - loadExtension(dir, true, ExtensionType.PER_USER); + loadExtension(dir, ExtensionType.PER_USER, true); }); }