summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-10 18:42:34 +0200
committerGitHub <noreply@github.com>2023-07-10 18:42:34 +0200
commit9c6cf06c6da113abbb4f39fd08c3a4a9b8bc73ed (patch)
tree89f7fa834a9fefcd79e123bf306710a261154cbd /core
parent66506502fe1df998637174a3986214c0d9c91056 (diff)
parent763453803d6c3a9c68cb7cc8040fdf30fd62db5e (diff)
downloadnextcloud-server-9c6cf06c6da113abbb4f39fd08c3a4a9b8bc73ed.tar.gz
nextcloud-server-9c6cf06c6da113abbb4f39fd08c3a4a9b8bc73ed.zip
Merge pull request #39142 from nextcloud/fix/password-confirmation-27
[stable27] Fix(OC/password-confirmation): Hide the correct button
Diffstat (limited to 'core')
-rw-r--r--core/src/OC/password-confirmation.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/OC/password-confirmation.js b/core/src/OC/password-confirmation.js
index 45939efd227..b67a6f4a1d3 100644
--- a/core/src/OC/password-confirmation.js
+++ b/core/src/OC/password-confirmation.js
@@ -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)
})