fix cannot add new task from uploading metalink file
This commit is contained in:
parent
9a3dff6105
commit
8f95c2e910
|
@ -325,7 +325,7 @@
|
||||||
var content = context.task.content;
|
var content = context.task.content;
|
||||||
var options = buildRequestOptions(context.task.options, context);
|
var options = buildRequestOptions(context.task.options, context);
|
||||||
|
|
||||||
return invoke(buildRequestContext('addMetalink', context, content, [], options), !!returnContextOnly);
|
return invoke(buildRequestContext('addMetalink', context, content, options), !!returnContextOnly);
|
||||||
},
|
},
|
||||||
remove: function (context, returnContextOnly) {
|
remove: function (context, returnContextOnly) {
|
||||||
return invoke(buildRequestContext('remove', context, context.gid), !!returnContextOnly);
|
return invoke(buildRequestContext('remove', context, context.gid), !!returnContextOnly);
|
||||||
|
|
Reference in a new issue