Consider urls based on https protocol:

- Fix admin links are no longer working due to wrong url
This commit is contained in:
Hadi Nategh 2015-09-15 16:47:34 +00:00
parent 8c21c99773
commit 5a179d5e2c

View File

@ -270,7 +270,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
*/ */
link: function(_url, _extravars) 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 // already a full url (eg. download_url of vfs), nothing to do
} }