[extensions-web] Fix switches.



commit eb7df7794cb86e6b4db6af2c9e7d1afb8d7ed3cc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Nov 9 08:40:09 2011 -0500

    Fix switches.

 sweettooth/static/js/extensions.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index 0ce4c86..33f2c91 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -255,7 +255,7 @@ function($, messages, dbusProxy) {
         });
 
         dbusProxy.GetExtensionInfo(uuid).done(function(meta) {
-            addExtensionSwitch(uuid, meta, $(this));
+            addExtensionSwitch(uuid, meta, $extension);
         });
     };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]