mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-30 09:05:23 +02:00
don't prompt to download symlink
This commit is contained in:
parent
34d0f933fa
commit
ca4378e41d
@ -610,10 +610,7 @@ class NavFileLink extends NavFile{
|
||||
this.show_edit_file_contents();
|
||||
} else {
|
||||
console.log("Unknown mimetype: " + type);
|
||||
if (window.confirm("Can't open " + this.filename() + " for editing. Download?")) {
|
||||
var download = new NavDownloader(this);
|
||||
download.download();
|
||||
}
|
||||
window.alert("Can't open " + this.filename() + " for editing.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user