mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Fix not working geolocation in addressbook
This commit is contained in:
parent
bb072b3b87
commit
c4412b5ed1
@ -1460,7 +1460,6 @@ class AddressbookApp extends EgwApp
|
|||||||
// defined in addressbook_hooks::config
|
// defined in addressbook_hooks::config
|
||||||
var default_url = 'https://maps.here.com/directions/drive{{%rs=/%rs}}%r0,%t0,%z0,%c0{{%d=/%d}}%r1,%t1,%z1+%c1';
|
var default_url = 'https://maps.here.com/directions/drive{{%rs=/%rs}}%r0,%t0,%z0,%c0{{%d=/%d}}%r1,%t1,%z1+%c1';
|
||||||
var geo_url = egw.config('geolocation_url');
|
var geo_url = egw.config('geolocation_url');
|
||||||
if (geo_url) geo_url = geo_url[0];
|
|
||||||
return geo_url || default_url;
|
return geo_url || default_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user