Skip to content

Commit cf1d4ed

Browse files
authored
Merge pull request #5208 from Minion3665/private/minion/push-rqvmksmlmlym
fix(mobile): pass format to SaveAs
2 parents fcbf00a + 9ab3d5b commit cf1d4ed

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

cypress/e2e/direct.spec.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,7 @@ describe('Direct editing (legacy)', function() {
183183
.should('be.visible')
184184
cy.get('.saveas-dialog input[type=text]')
185185
.should('be.visible')
186-
.should('have.value', 'document.odt')
187-
188-
cy.get('.saveas-dialog input[type=text]')
189-
.clear()
190-
cy.get('.saveas-dialog input[type=text]')
191-
.type('/document.rtf')
186+
.should('have.value', 'document.rtf')
192187

193188
cy.get('.saveas-dialog button.button-vue--vue-primary').click()
194189

src/document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ const documentsMain = {
474474
SaveAs,
475475
{
476476
path: documentsMain.fileName,
477-
format: args.Format,
477+
format: args.format,
478478
},
479479
(value) => value && PostMessages.sendWOPIPostMessage('loolframe', 'Action_SaveAs', { Filename: value, Notify: true }),
480480
)

0 commit comments

Comments
 (0)