mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-17 21:12:14 +01:00
Merge pull request #5208 from Minion3665/private/minion/push-rqvmksmlmlym
fix(mobile): pass format to SaveAs
This commit is contained in:
commit
cf1d4ed743
2 changed files with 2 additions and 7 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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 }),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue