]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix path in calendars geo.js
authorGeorg Ehrke <dev@georgswebsite.de>
Mon, 30 Apr 2012 19:18:34 +0000 (21:18 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Mon, 30 Apr 2012 19:18:54 +0000 (21:18 +0200)
apps/calendar/js/geo.js

index 7018c6298a20c46cb8c21b2206537780341554d1..092d8547469ac32caea9f26df70435a8772e15ca 100644 (file)
@@ -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);