Skip to content

Commit 91b4fd5

Browse files
juliusknorrbackportbot[bot]
authored andcommitted
fix(direct-editing): Use correct method to pass the Action_SaveAs post message
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 3cb28a7 commit 91b4fd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ const documentsMain = {
476476
path: documentsMain.fileName,
477477
format: args.Format,
478478
},
479-
(value) => value && this.sendPostMessage('Action_SaveAs', { Filename: value, Notify: true }),
479+
(value) => value && PostMessages.sendWOPIPostMessage('loolframe', 'Action_SaveAs', { Filename: value, Notify: true }),
480480
)
481481
} else if (msgId === 'Action_Save_Resp') {
482482
if (args.success && args.fileName) {

0 commit comments

Comments
 (0)