Merge pull request #5223 from nextcloud/backport/5208/stable30

[stable30] fix(mobile): pass format to SaveAs
This commit is contained in:
Sylwia 2025-12-04 16:27:37 +01:00 committed by GitHub
commit ee657f7a05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 7 deletions

View file

@ -183,12 +183,7 @@ describe('Direct editing (legacy)', function() {
.should('be.visible')
cy.get('.saveas-dialog input[type=text]')
.should('be.visible')
.should('have.value', 'document.odt')
cy.get('.saveas-dialog input[type=text]')
.clear()
cy.get('.saveas-dialog input[type=text]')
.type('/document.rtf')
.should('have.value', 'document.rtf')
cy.get('.saveas-dialog button.button-vue--vue-primary').click()

View file

@ -474,7 +474,7 @@ const documentsMain = {
SaveAs,
{
path: documentsMain.fileName,
format: args.Format,
format: args.format,
},
(value) => value && PostMessages.sendWOPIPostMessage('loolframe', 'Action_SaveAs', { Filename: value, Notify: true }),
)