[extensions-web] js: Remove tipsy tooltips



commit 68576179e379ef749cea8c36864387990fc78a13
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Apr 1 15:44:30 2012 -0400

    js: Remove tipsy tooltips
    
    We have a new UI for these, so let's remove what we have right now.

 sweettooth/static/js/extensions.js   |    4 +-
 sweettooth/static/js/jquery.tipsy.js |  241 ----------------------------------
 2 files changed, 1 insertions(+), 244 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index 02b5c2b..732624c 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -1,7 +1,7 @@
 // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
 
 define(['jquery', 'messages', 'dbus!_', 'extensionUtils', 'templates',
-        'paginator', 'switch', 'jquery.tipsy'],
+        'paginator', 'switch'],
 function($, messages, dbusProxy, extensionUtils, templates) {
     "use strict";
 
@@ -136,7 +136,6 @@ function($, messages, dbusProxy, extensionUtils, templates) {
 
         $elem.bind('state-changed', function(e, newState) {
             $elem.data('state', newState);
-            $switch.tipsy({ gravity: 'w', fade: true });
             if (newState == ExtensionState.DISABLED ||
                 newState == ExtensionState.INITIALIZED ||
                 newState == ExtensionState.UNINSTALLED) {
@@ -144,7 +143,6 @@ function($, messages, dbusProxy, extensionUtils, templates) {
             } else if (newState == ExtensionState.ENABLED) {
                 $switch.switchify('activate', true);
             } else if (newState == ExtensionState.ERROR) {
-                $switch.attr('title', "This extension had an error.");
             } else if (newState == ExtensionState.OUT_OF_DATE) {
             }
 



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