mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#19860 : Media Library : folderPath not well passed in WebSearch import
Work Item: 19860 --HG-- branch : 1.x
This commit is contained in:
@@ -208,14 +208,14 @@
|
||||
|
||||
$("#button-import").on("click", function (e) {
|
||||
var antiForgeryToken = $('[name=antiforgerytoken]').val();
|
||||
var id = $('[name=id]').val();
|
||||
var folderPath = $('[name=folderPath]').val();
|
||||
var action = $('[name=action]').val();
|
||||
|
||||
viewModel.selection().forEach(function (item) {
|
||||
var url = item.data.MediaUrl;
|
||||
item.status('uploading');
|
||||
$.post(action, {
|
||||
id: id,
|
||||
folderPath: folderPath,
|
||||
url: url,
|
||||
__RequestVerificationToken: antiForgeryToken,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user