Skip to content

Commit

Permalink
Merge pull request #39142 from nextcloud/fix/password-confirmation-27
Browse files Browse the repository at this point in the history
[stable27] Fix(OC/password-confirmation): Hide the correct button
  • Loading branch information
blizzz committed Jul 10, 2023
2 parents 6650650 + 7634538 commit 9c6cf06
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions core/src/OC/password-confirmation.js
Expand Up @@ -94,9 +94,10 @@ export default {
const $error = $('<p></p>').addClass('msg warning').text(config.error)
$dialog.find('.oc-dialog-content').append($error)
}
$dialog.find('.oc-dialog-buttonrow').addClass('aside')
const $buttonrow = $dialog.find('.oc-dialog-buttonrow')
$buttonrow.addClass('aside')

const $buttons = $dialog.find('button')
const $buttons = $buttonrow.find('button')
$buttons.eq(0).hide()
$buttons.eq(1).text(config.confirm)
})
Expand Down
4 changes: 2 additions & 2 deletions dist/core-login.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-login.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit 9c6cf06

Please sign in to comment.