diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-07-16 15:19:20 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-07-20 18:03:53 +0000 |
commit | 003c76cca228025d49e8afac7add5d8d0eed4eb7 (patch) | |
tree | 9d46b4f48c291166b95086bde977b825b7f596b9 /core/src/OC | |
parent | de08b53b4eaa69621de0e863071c55671e74441c (diff) | |
download | nextcloud-server-003c76cca228025d49e8afac7add5d8d0eed4eb7.tar.gz nextcloud-server-003c76cca228025d49e8afac7add5d8d0eed4eb7.zip |
FilePicker: Hide also outline of `new` button if type is `CHOOSE`
If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.
This also hides the outline to fix #33142
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/src/OC')
-rw-r--r-- | core/src/OC/dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index e2996de8f12..2570586c6cf 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -321,7 +321,7 @@ const Dialogs = { var newButton = self.$filePicker.find('.actions.creatable .button-add') if (type === self.FILEPICKER_TYPE_CHOOSE && !options.allowDirectoryChooser) { - newButton.hide() + self.$filePicker.find('.actions.creatable').hide() } newButton.on('focus', function() { self.$filePicker.ocdialog('setEnterCallback', function(event) { |