mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Et2VfsSelectDialog: Fix save as did not use the new filename
This commit is contained in:
parent
eef8eb8432
commit
c270189626
@ -393,12 +393,12 @@ export class Et2VfsSelectDialog
|
||||
break;
|
||||
case "saveas":
|
||||
// Saveas wants a full path, including filename
|
||||
this.value = [this.path + "/" + this.filename];
|
||||
this.value = [this.path + "/" + this._filenameNode.value ?? this.filename];
|
||||
|
||||
// Check for existing file, ask what to do
|
||||
if(this.fileInfo(this.value[0]))
|
||||
{
|
||||
let result = await this.overwritePrompt(this.filename);
|
||||
let result = await this.overwritePrompt(this._filenameNode ?? this.filename);
|
||||
if(result == null)
|
||||
{
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user