[extensions-web] js: Fix display of out of version error
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] js: Fix display of out of version error
- Date: Thu, 8 Dec 2011 20:47:40 +0000 (UTC)
commit da3bf4a52563ff53d4e369af760c310a761f2e01
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Dec 8 15:47:33 2011 -0500
js: Fix display of out of version error
sweettooth/static/js/extensions.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index 715f237..b093d39 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -283,10 +283,10 @@ function($, messages, dbusProxy, extensionUtils) {
var nhvOperation = extensionUtils.findNextHighestVersion(svm, dbusProxy.ShellVersion);
if (nhvOperation.operation === 'upgrade' &&
nhvOperation.stability === 'stable') {
- messages.addError("This extension is incompatible with your version of GNOME. Please upgrade to GNOME " + nextHighestVersion);
+ messages.addError("This extension is incompatible with your version of GNOME. Please upgrade to GNOME " + nhvOperation.version);
} else if (nhvOperation.operation === 'upgrade' &&
nhvOperation.stability === 'unstable') {
- messages.addError("This extension is incompatible with your version of GNOME. This extension supports the GNOME unstable release, " + nextHighestVersion);
+ messages.addError("This extension is incompatible with your version of GNOME. This extension supports the GNOME unstable release, " + nhvOperation.version);
} else if (nhvOperation.operation === 'downgrade') {
messages.addError("This extension is incompatible with your version of GNOME.");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]