Improved close modal.
This commit is contained in:
parent
4c35f73e0f
commit
960b6dab73
1 changed files with 2 additions and 6 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue