mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-19 17:38:06 +02: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;
|
break;
|
||||||
case "saveas":
|
case "saveas":
|
||||||
// Saveas wants a full path, including filename
|
// 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
|
// Check for existing file, ask what to do
|
||||||
if(this.fileInfo(this.value[0]))
|
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)
|
if(result == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user