Update new.js
fix bug
This commit is contained in:
parent
0038c76b95
commit
f049393813
|
@ -40,7 +40,7 @@
|
||||||
options: angular.copy($scope.context.options)
|
options: angular.copy($scope.context.options)
|
||||||
};
|
};
|
||||||
|
|
||||||
saveDownloadPath(options);
|
saveDownloadPath(task.options);
|
||||||
|
|
||||||
return aria2TaskService.newTorrentTask(task, pauseOnAdded, responseCallback);
|
return aria2TaskService.newTorrentTask(task, pauseOnAdded, responseCallback);
|
||||||
};
|
};
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
options: angular.copy($scope.context.options)
|
options: angular.copy($scope.context.options)
|
||||||
};
|
};
|
||||||
|
|
||||||
saveDownloadPath(options);
|
saveDownloadPath(task.options);
|
||||||
|
|
||||||
return aria2TaskService.newMetalinkTask(task, pauseOnAdded, responseCallback);
|
return aria2TaskService.newMetalinkTask(task, pauseOnAdded, responseCallback);
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue