mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-10 18:14:00 +02:00
Fix download in context menu
Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
@@ -377,7 +377,7 @@ function IFM(params) {
|
||||
if( data.selected.length > 0 )
|
||||
self.showMessage( "At the moment it is not possible to download a set of files." );
|
||||
else
|
||||
document.forms["d_"+data.clicked.guid].submit();
|
||||
window.location = data.clicked.download.link;
|
||||
},
|
||||
iconClass: "icon icon-download",
|
||||
isShown: function() { return !!self.config.download; }
|
||||
|
Reference in New Issue
Block a user