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-10 15:17:48 +00:00
parent 6010115714
commit b56678ba93

View File

@ -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
}