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();
|
this.show_edit_file_contents();
|
||||||
} else {
|
} else {
|
||||||
console.log("Unknown mimetype: " + type);
|
console.log("Unknown mimetype: " + type);
|
||||||
if (window.confirm("Can't open " + this.filename() + " for editing. Download?")) {
|
window.alert("Can't open " + this.filename() + " for editing.");
|
||||||
var download = new NavDownloader(this);
|
|
||||||
download.download();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue