summaryrefslogtreecommitdiffstats
path: root/apps/calendar/js/geo.js
diff options
context:
space:
mode:
authorGeorg Ehrke <ownclouddev@georgswebsite.de>2012-02-20 11:27:25 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-02-23 22:06:16 +0100
commitcfa284bfa868a44b7f4a348fb579a00c361531f1 (patch)
tree15f665837c22c0a43800e204a81ed7e4740fbde4 /apps/calendar/js/geo.js
parent8cd102721450ce02f41a07bf3473fb9a0582f054 (diff)
downloadnextcloud-server-cfa284bfa868a44b7f4a348fb579a00c361531f1.tar.gz
nextcloud-server-cfa284bfa868a44b7f4a348fb579a00c361531f1.zip
update js files for new ajax pathes
Diffstat (limited to 'apps/calendar/js/geo.js')
-rwxr-xr-xapps/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 ae6a971e938..c9cc5dd0955 100755
--- 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', '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);