Fixed issue#1 - Button 'Abbrechen" won't work.
This commit is contained in:
parent
144f4ff359
commit
54c51d9a80
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ class Index extends App.Controller
|
||||||
new UserNew()
|
new UserNew()
|
||||||
|
|
||||||
cancel: ->
|
cancel: ->
|
||||||
@render()
|
@navigate '#'
|
||||||
|
|
||||||
submit: (e) ->
|
submit: (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
|
@ -121,7 +121,7 @@ class Index extends App.Controller
|
||||||
@el.find('textarea').trigger('change')
|
@el.find('textarea').trigger('change')
|
||||||
|
|
||||||
cancel: ->
|
cancel: ->
|
||||||
@render()
|
@navigate '#'
|
||||||
|
|
||||||
submit: (e) ->
|
submit: (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
Loading…
Reference in a new issue