[chrome-gnome-shell/release/v7.2: 4/6] Prepare release: no changes are planned for connector. Hardcode version



commit 5dd78705095ec5a320b5113ee19ea0b28bb3182f
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sat Nov 19 22:43:25 2016 +0300

    Prepare release: no changes are planned for connector. Hardcode version

 extension/include/sweettooth-api.js |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/extension/include/sweettooth-api.js b/extension/include/sweettooth-api.js
index d66c0c2..1d7cf35 100644
--- a/extension/include/sweettooth-api.js
+++ b/extension/include/sweettooth-api.js
@@ -82,7 +82,12 @@ define('gs-chrome', ['jquery'], function($) {
                                                        apiObject.shellVersion                  = 
response.shellVersion;
                                                        apiObject.versionValidationEnabled      = 
response.versionValidationEnabled;
 
-                                                       if(!response.connectorVersion || 
response.connectorVersion != GS_CHROME_VERSION)
+                                                       if(!response.connectorVersion ||
+                                                                       (
+                                                                               response.connectorVersion != 
7.1 &&
+                                                                               response.connectorVersion != 
GS_CHROME_VERSION
+                                                                       )
+                                                       )
                                                        {
                                                                if(!response.connectorVersion)
                                                                        response.connectorVersion = 
GSC.getMessage('older_connector');


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