From: Georg Ehrke Date: Mon, 30 Apr 2012 19:18:34 +0000 (+0200) Subject: fix path in calendars geo.js X-Git-Tag: v4.0.0beta~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c908a4cd0b9ab14a834a1e0220d48097fa23ca4;p=nextcloud-server.git fix path in calendars geo.js --- 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);