From b56678ba93e75ed99283fc3b98c3908d98a9a30a Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 10 Sep 2015 15:17:48 +0000 Subject: [PATCH] Consider urls based on https protocol: - Fix admin links are no longer working due to wrong url --- phpgwapi/js/jsapi/egw_links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_links.js b/phpgwapi/js/jsapi/egw_links.js index 292094c682..9edacff95a 100644 --- a/phpgwapi/js/jsapi/egw_links.js +++ b/phpgwapi/js/jsapi/egw_links.js @@ -270,7 +270,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function() */ link: function(_url, _extravars) { - if (_url.substr(0,4) == 'http' && _url.indexOf('://') < 5) + if (_url.substr(0,4) == 'http' && _url.indexOf('://') <= 5) { // already a full url (eg. download_url of vfs), nothing to do }