[extensions-web] js: Add a tipsy tooltip to extensions that are out of date
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] js: Add a tipsy tooltip to extensions that are out of date
- Date: Thu, 8 Dec 2011 22:13:24 +0000 (UTC)
commit 1ee22d506cdbc3917f0c8a0439f3a0a750cad855
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Dec 8 17:13:13 2011 -0500
js: Add a tipsy tooltip to extensions that are out of date
sweettooth/static/js/extensions.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index 24333f8..756a5b9 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -301,8 +301,9 @@ function($, messages, dbusProxy, extensionUtils) {
$('li.extension').each(function() {
var svm = $(this).data('svm');
var vpk = extensionUtils.grabProperExtensionVersion(svm, dbusProxy.ShellVersion);
- if (vpk === null)
- $(this).addClass('out-of-date');
+ if (vpk === null) {
+ $(this).addClass('out-of-date').attr('title', "This extension is out of date").tipsy({ gravity: 's', fade: true });
+ }
});
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]