[extensions-web] Don't mark extensions without a shell version map incompatible
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Don't mark extensions without a shell version map incompatible
- Date: Fri, 9 Dec 2011 16:59:26 +0000 (UTC)
commit 149665b34211ce56ceccbca61def3e28ced6840f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 9 11:59:17 2011 -0500
Don't mark extensions without a shell version map incompatible
sweettooth/static/js/extensions.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index a7d80ad..8f04fcd 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -300,6 +300,9 @@ function($, messages, dbusProxy, extensionUtils) {
$('li.extension').each(function() {
var svm = $(this).data('svm');
+ if (svm === null)
+ return;
+
var vpk = extensionUtils.grabProperExtensionVersion(svm, dbusProxy.ShellVersion);
if (vpk === null) {
$(this).addClass('out-of-date').attr('title', "This extension is incompatible with your version of GNOME").tipsy({ gravity: 's', fade: true });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]