diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-30 21:18:34 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-30 21:18:54 +0200 |
commit | 6c908a4cd0b9ab14a834a1e0220d48097fa23ca4 (patch) | |
tree | 36809d529ec6207efa4689c0160e2e52d42f26da /apps | |
parent | f425b80debd994555ccf4b3905fbf2e6fef14cfc (diff) | |
download | nextcloud-server-6c908a4cd0b9ab14a834a1e0220d48097fa23ca4.tar.gz nextcloud-server-6c908a4cd0b9ab14a834a1e0220d48097fa23ca4.zip |
fix path in calendars geo.js
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calendar/js/geo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/js/geo.js b/apps/calendar/js/geo.js index 7018c6298a2..092d8547469 100644 --- a/apps/calendar/js/geo.js +++ b/apps/calendar/js/geo.js @@ -6,7 +6,7 @@ */ if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { - $.getJSON(OC.filePath('calendar', 'ajax/settings', 'guesstimezone.php?lat=' + position.coords.latitude + '&long=' + position.coords.longitude + ''), + $.getJSON(OC.filePath('calendar', 'ajax/settings', 'guesstimezone.php') + '?lat=' + position.coords.latitude + '&long=' + position.coords.longitude, function(data){ if (data.status == 'success' && typeof(data.message) != 'undefined'){ $('#notification').html(data.message); |