Fix "TypeError: u.$form is undefined"
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
22e748ed38
commit
4cc017d52e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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('.')
|
||||
|
|
Loading…
Reference in New Issue