From 6c908a4cd0b9ab14a834a1e0220d48097fa23ca4 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 30 Apr 2012 21:18:34 +0200 Subject: [PATCH] fix path in calendars geo.js --- apps/calendar/js/geo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5