[extensions-web] js: Fix extension installation



commit 242e7a8547891660cbc77d2f94a10ddcb26e44fd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Mar 29 17:59:38 2012 -0400

    js: Fix extension installation
    
    version_tag is supposed to be a string, not an integer. Whoops.

 sweettooth/static/js/versions/common/common.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/static/js/versions/common/common.js b/sweettooth/static/js/versions/common/common.js
index 3a3c6aa..c5bdf57 100644
--- a/sweettooth/static/js/versions/common/common.js
+++ b/sweettooth/static/js/versions/common/common.js
@@ -41,7 +41,7 @@ define(['jquery', 'dbus!API'], function($, API) {
         },
 
         InstallExtensionTwo: function(uuid) {
-            API.installExtension(uuid, -1);
+            API.installExtension(uuid, "");
         },
 
         UninstallExtension: function(uuid) {



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