Small fix on history loading errors

stable
Jesús Espino 2015-01-28 11:14:02 +01:00
parent 6bc1b40581
commit cf88012787
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class HistoryController extends taiga.Controller
return @rs.history.undeleteComment(type, objectId, activityId).then => @.loadHistory(type, objectId)
HistoryDirective = ($log, $loading, $qqueue, $template) ->
HistoryDirective = ($log, $loading, $qqueue, $template, $confirm) ->
templateChangeDiff = $template.get("common/history/history-change-diff.html", true)
templateChangePoints = $template.get("common/history/history-change-points.html", true)
templateChangeGeneric = $template.get("common/history/history-change-generic.html", true)
@ -357,4 +357,4 @@ HistoryDirective = ($log, $loading, $qqueue, $template) ->
}
module.directive("tgHistory", ["$log", "$tgLoading", "$tgQqueue", "$tgTemplate", HistoryDirective])
module.directive("tgHistory", ["$log", "$tgLoading", "$tgQqueue", "$tgTemplate", "$tgConfirm", HistoryDirective])