Adding activeanimation class when needed

stable
Alejandro Alonso 2014-08-28 09:09:15 +02:00
parent 5480f27973
commit 586ff08577
2 changed files with 4 additions and 0 deletions

View File

@ -176,6 +176,8 @@ TaskDirective = ($tgrepo, $log, $location, $confirm, $navUrls) ->
$el.on "click", ".add-comment a.button-green", (event) ->
event.preventDefault()
$el.find(".comment-list").addClass("activeanimation")
onSuccess = ->
$ctrl.loadHistory()

View File

@ -189,6 +189,8 @@ UsDirective = ($tgrepo, $log, $location, $confirm, $navUrls) ->
$el.on "click", ".add-comment a.button-green", (event) ->
event.preventDefault()
$el.find(".comment-list").addClass("activeanimation")
onSuccess = ->
$ctrl.loadHistory()