diff --git a/src/scripts/controllers/new.js b/src/scripts/controllers/new.js index 6fdfee2..f118ec0 100644 --- a/src/scripts/controllers/new.js +++ b/src/scripts/controllers/new.js @@ -40,7 +40,7 @@ options: angular.copy($scope.context.options) }; - saveDownloadPath(options); + saveDownloadPath(task.options); return aria2TaskService.newTorrentTask(task, pauseOnAdded, responseCallback); }; @@ -51,7 +51,7 @@ options: angular.copy($scope.context.options) }; - saveDownloadPath(options); + saveDownloadPath(task.options); return aria2TaskService.newMetalinkTask(task, pauseOnAdded, responseCallback); };