Use current file name as default in move promp.
This commit is contained in:
parent
6fb5e59499
commit
ef386ff8d4
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function file_move(el) {
|
|||
var dest_path = form.dest_path;
|
||||
var name = get_file_name_from_url(form.target_path.value);
|
||||
|
||||
var input = prompt("Enter a new name or path for '" + name + "':");
|
||||
var input = prompt("Enter a new name or path for '" + name + "':", name);
|
||||
if (input === null || input === '') {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue