[extensions-web] Allow uninstallation of all extensions, for realsies this time



commit 413c83f1b7a0f1b6f48517314817725cec6ba26d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Apr 1 16:07:22 2012 -0400

    Allow uninstallation of all extensions, for realsies this time

 sweettooth/static/js/extensions.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index 41ae4ab..1e98d53 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -221,6 +221,7 @@ function($, messages, dbusProxy, extensionUtils, templates) {
 
                         function renderExtension() {
                             extension.want_configure = (extension.hasPrefs && extension.state !== ExtensionState.OUT_OF_DATE);
+                            extension.want_uninstall = true;
 
                             $elem = $(templates.extensions.info(extension)).replaceAll($elem);
                             $elem.find('.uninstall').on('click', uninstall);



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