We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2766df9 commit 431eeceCopy full SHA for 431eece
1 file changed
core/src/OC/dialogs.js
@@ -320,8 +320,8 @@ const Dialogs = {
320
}
321
322
var newButton = self.$filePicker.find('.actions.creatable .button-add')
323
- if (type === self.FILEPICKER_TYPE_CHOOSE && !options.allowDirectoryChooser) {
324
- newButton.hide()
+ if (type === this.FILEPICKER_TYPE_CHOOSE && !options.allowDirectoryChooser) {
+ self.$filePicker.find('.actions.creatable').hide()
325
326
newButton.on('focus', function() {
327
self.$filePicker.ocdialog('setEnterCallback', function() {
0 commit comments