diff options
author | Michiel de Jong <michiel@unhosted.org> | 2012-02-25 21:58:59 +0000 |
---|---|---|
committer | Michiel de Jong <michiel@unhosted.org> | 2012-02-25 21:58:59 +0000 |
commit | a1d03de6662c84944dacc4ff357ddf3e5f53949e (patch) | |
tree | 691ca3408ffee5e69e15df7f03c26c646078f6cd /apps/calendar/js/settings.js | |
parent | 3f87c2cedb271d498f5e198ce90df4948bc032fa (diff) | |
parent | 8fe5251029c9e3c711660abcb58c7e60f6b88f97 (diff) | |
download | nextcloud-server-a1d03de6662c84944dacc4ff357ddf3e5f53949e.tar.gz nextcloud-server-a1d03de6662c84944dacc4ff357ddf3e5f53949e.zip |
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'apps/calendar/js/settings.js')
-rw-r--r-- | apps/calendar/js/settings.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/calendar/js/settings.js b/apps/calendar/js/settings.js index 73300885565..fcbfc423db3 100644 --- a/apps/calendar/js/settings.js +++ b/apps/calendar/js/settings.js @@ -3,7 +3,7 @@ $(document).ready(function(){ OC.msg.startSaving('#calendar .msg') // Serialize the data var post = $( '#timezone' ).serialize(); - $.post( OC.filePath('calendar', 'ajax', 'settimezone.php'), post, function(data){ + $.post( OC.filePath('calendar', 'ajax/settings', 'settimezone.php'), post, function(data){ //OC.msg.finishedSaving('#calendar .msg', data); }); return false; @@ -11,7 +11,7 @@ $(document).ready(function(){ $('#timezone').chosen(); $('#timeformat').change( function(){ var data = $('#timeformat').serialize(); - $.post( OC.filePath('calendar', 'ajax', 'settimeformat.php'), data, function(data){ + $.post( OC.filePath('calendar', 'ajax/settings', 'settimeformat.php'), data, function(data){ if(data == 'error'){ console.log('saving timeformat failed'); } @@ -19,15 +19,15 @@ $(document).ready(function(){ }); $('#timezonedetection').change( function(){ var post = $('#timezonedetection').serialize(); - $.post( OC.filePath('calendar', 'ajax', 'timezonedetection.php'), post, function(data){ + $.post( OC.filePath('calendar', 'ajax/settings', 'timezonedetection.php'), post, function(data){ }); }); - $.getJSON(OC.filePath('calendar', 'ajax', 'timeformat.php'), function(jsondata, status) { + $.getJSON(OC.filePath('calendar', 'ajax/settings', 'timeformat.php'), function(jsondata, status) { $('#' + jsondata.timeformat).attr('selected',true); $('#timeformat').chosen(); }); - $.getJSON(OC.filePath('calendar', 'ajax', 'gettimezonedetection.php'), function(jsondata, status){ + $.getJSON(OC.filePath('calendar', 'ajax/settings', 'gettimezonedetection.php'), function(jsondata, status){ if(jsondata.detection == 'true'){ $('#timezonedetection').attr('checked', 'checked'); } |