Added default submit method.
This commit is contained in:
parent
528a12571e
commit
834ccce2f6
1 changed files with 4 additions and 0 deletions
|
@ -801,3 +801,7 @@ class App.ControllerModal extends App.Controller
|
||||||
if e
|
if e
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
@el.modal('hide')
|
@el.modal('hide')
|
||||||
|
|
||||||
|
submit: (e) =>
|
||||||
|
e.preventDefault()
|
||||||
|
@log 'You need to implement your own "submit" method!'
|
||||||
|
|
Loading…
Reference in a new issue