Skip to content

Commit

Permalink
Update new.js
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
mayswind authored Jul 11, 2018
1 parent 0038c76 commit f049393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/controllers/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
options: angular.copy($scope.context.options)
};

saveDownloadPath(options);
saveDownloadPath(task.options);

return aria2TaskService.newTorrentTask(task, pauseOnAdded, responseCallback);
};
Expand All @@ -51,7 +51,7 @@
options: angular.copy($scope.context.options)
};

saveDownloadPath(options);
saveDownloadPath(task.options);

return aria2TaskService.newMetalinkTask(task, pauseOnAdded, responseCallback);
};
Expand Down

0 comments on commit f049393

Please sign in to comment.