aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-30 21:18:34 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-30 21:18:54 +0200
commit6c908a4cd0b9ab14a834a1e0220d48097fa23ca4 (patch)
tree36809d529ec6207efa4689c0160e2e52d42f26da /apps
parentf425b80debd994555ccf4b3905fbf2e6fef14cfc (diff)
downloadnextcloud-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.js2
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);