From f049393813fe1ef8bac52ef7ae92cd82b152aed4 Mon Sep 17 00:00:00 2001 From: mayswind Date: Wed, 11 Jul 2018 20:23:15 +0800 Subject: [PATCH] Update new.js fix bug --- src/scripts/controllers/new.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/controllers/new.js b/src/scripts/controllers/new.js index 6fdfee26..f118ec02 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); };