From 9266f4da99c01baae4ec15b5228a9122eb29cfb3 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Thu, 7 Jun 2012 13:08:42 +0200 Subject: [PATCH] Migration: Fixed wrong download URL: http://forum.owncloud.org/viewtopic.php?f=4&t=2511 --- apps/user_migrate/js/export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_migrate/js/export.js b/apps/user_migrate/js/export.js index 2d660b2de6..aef45c45a7 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 {