Implementing horizontal scroll in taskboard
parent
61b9bbdea1
commit
5bf23d114c
|
@ -190,6 +190,11 @@ TaskboardDirective = ($rootscope) ->
|
||||||
toggleText(target, ["Hide statistics", "Show statistics"]) # TODO: i18n
|
toggleText(target, ["Hide statistics", "Show statistics"]) # TODO: i18n
|
||||||
$rootscope.$broadcast("taskboard:graph:toggle-visibility")
|
$rootscope.$broadcast("taskboard:graph:toggle-visibility")
|
||||||
|
|
||||||
|
taskboardTableBodyDom = $el.find(".taskboard-table-body")
|
||||||
|
taskboardTableHeaderInnerDom = $el.find(".taskboard-table-header .taskboard-table-inner")
|
||||||
|
taskboardTableBodyDom.scroll () ->
|
||||||
|
taskboardTableHeaderInnerDom.css('left', -1 * taskboardTableBodyDom.scrollLeft())
|
||||||
|
|
||||||
$scope.$on "$destroy", ->
|
$scope.$on "$destroy", ->
|
||||||
$el.off()
|
$el.off()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue