From: Thomas Tanghus Date: Thu, 7 Jun 2012 11:08:42 +0000 (+0200) Subject: Migration: Fixed wrong download URL: http://forum.owncloud.org/viewtopic.php?f=4... X-Git-Tag: v4.5.0beta1~74^2~423^2~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=312536dbf951a72ff849cdd57138eded6c4668e6;p=nextcloud-server.git Migration: Fixed wrong download URL: http://forum.owncloud.org/viewtopic.php?f=4&t=2511 --- diff --git a/apps/user_migrate/js/export.js b/apps/user_migrate/js/export.js index 2d660b2de6b..aef45c45a7b 100644 --- a/apps/user_migrate/js/export.js +++ b/apps/user_migrate/js/export.js @@ -9,7 +9,7 @@ $(document).ready(function(){ function(result){ if(result.status == 'success'){ // Download the file - window.location = OC.filePath('user_migrate','ajax','export.php?operation=download') ; + window.location = OC.linkTo('user_migrate','ajax/export.php') + '?operation=download'; $('.loading').hide(); $('#exportbtn').val(t('user_migrate', 'Export')); } else {