fix(direct-editing): Use correct method to pass the Action_SaveAs post message

Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Julius Knorr 2025-05-07 14:24:21 +02:00
parent d9284bb476
commit 247ad201d1
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -476,7 +476,7 @@ const documentsMain = {
path: documentsMain.fileName,
format: args.Format,
},
(value) => value && this.sendPostMessage('Action_SaveAs', { Filename: value, Notify: true }),
(value) => value && PostMessages.sendWOPIPostMessage('loolframe', 'Action_SaveAs', { Filename: value, Notify: true }),
)
} else if (msgId === 'Action_Save_Resp') {
if (args.success && args.fileName) {