Improved close modal.

This commit is contained in:
Martin Edenhofer 2013-03-06 19:10:20 +01:00
parent 4c35f73e0f
commit 960b6dab73

View file

@ -1,7 +1,8 @@
class App.TicketHistory extends App.ControllerModal
events:
'click [data-type=sortorder]': 'sortorder',
'click .close': 'close',
'click .cancel': 'modalHide',
'click .close': 'modalHide',
constructor: ->
super
@ -78,8 +79,3 @@ class App.TicketHistory extends App.ControllerModal
# show frontend times
@delay( @frontendTimeUpdate, 200 )
close: ->
# close modal
@modalHide()