Merge pull request #3778 from nielsvanvelzen/itemdetails-download-missing-args
Add title and filename to download request in item details
This commit is contained in:
@@ -1966,7 +1966,9 @@ export default function (view, params) {
|
||||
download([{
|
||||
url: downloadHref,
|
||||
itemId: currentItem.Id,
|
||||
serverId: currentItem.serverId
|
||||
serverId: currentItem.ServerId,
|
||||
title: currentItem.Name,
|
||||
filename: currentItem.Path.replace(/^.*[\\/]/, '')
|
||||
}]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user