Added default submit method.

This commit is contained in:
Martin Edenhofer 2012-07-04 23:35:11 +02:00
parent 528a12571e
commit 834ccce2f6

View file

@ -801,3 +801,7 @@ class App.ControllerModal extends App.Controller
if e
e.preventDefault()
@el.modal('hide')
submit: (e) =>
e.preventDefault()
@log 'You need to implement your own "submit" method!'