Fixed issue#1 - Button 'Abbrechen" won't work.

This commit is contained in:
Martin Edenhofer 2012-11-12 15:29:40 +01:00
parent 144f4ff359
commit 54c51d9a80
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ class Index extends App.Controller
new UserNew()
cancel: ->
@render()
@navigate '#'
submit: (e) ->
e.preventDefault()

View file

@ -121,7 +121,7 @@ class Index extends App.Controller
@el.find('textarea').trigger('change')
cancel: ->
@render()
@navigate '#'
submit: (e) ->
e.preventDefault()