diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-29 00:49:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-29 00:49:37 +0200 |
commit | 75af5778a4e034600edd2e891f8c70e6e807808a (patch) | |
tree | ff6ee5fa5b70457fd88131fdd4f0851f38661d6d /apps/calendar | |
parent | 31bba86e8753ce3a1d7821c195f64ebfb052e01d (diff) | |
download | nextcloud-server-75af5778a4e034600edd2e891f8c70e6e807808a.tar.gz nextcloud-server-75af5778a4e034600edd2e891f8c70e6e807808a.zip |
pass progresskey the correct way during calender import
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/js/loader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/js/loader.js b/apps/calendar/js/loader.js index 0fc5018e89c..cef95afc3aa 100644 --- a/apps/calendar/js/loader.js +++ b/apps/calendar/js/loader.js @@ -44,7 +44,7 @@ Calendar_Import={ $('#newcalendar').attr('readonly', 'readonly'); $('#calendar').attr('disabled', 'disabled'); var progresskey = $('#progresskey').val(); - $.post(OC.filePath('calendar', 'ajax/import', 'import.php') + '?progresskey='+progresskey, {method: String (method), calname: String (calname), path: String (path), file: String (filename), id: String (calid)}, function(data){ + $.post(OC.filePath('calendar', 'ajax/import', 'import.php'), {progresskey: progresskey, method: String (method), calname: String (calname), path: String (path), file: String (filename), id: String (calid)}, function(data){ if(data.status == 'success'){ $('#progressbar').progressbar('option', 'value', 100); $('#import_done').css('display', 'block'); |