aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-02-19 11:58:04 +0100
committerJoas Schilling <coding@schilljs.com>2020-02-25 11:57:45 +0100
commit4cc017d52e975f2c4b527c8f848087c5e6136ccc (patch)
tree2ee0888289d95f93de9b04cbff046abe886dd08e /core/src
parent22e748ed3845f4c4863bcae78835b679fb30bc82 (diff)
downloadnextcloud-server-4cc017d52e975f2c4b527c8f848087c5e6136ccc.tar.gz
nextcloud-server-4cc017d52e975f2c4b527c8f848087c5e6136ccc.zip
Fix "TypeError: u.$form is undefined"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index e73b8d0d047..e9ffb5a6a15 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -318,7 +318,7 @@ const Dialogs = {
self.$filePicker.ocdialog('setEnterCallback', function() {
event.stopImmediatePropagation()
event.preventDefault()
- self.$form.submit()
+ self.$filePicker.submit()
})
var newName = $input.val()
var lastPos = newName.lastIndexOf('.')