Improve column hide/show with swimlanes
This commit is contained in:
parent
1f2f5d2c10
commit
297c11e48e
|
|
@ -2,7 +2,7 @@
|
|||
<!-- swimlane toggle -->
|
||||
<?php if (! $hide_swimlane): ?>
|
||||
<th class="board-swimlane-header">
|
||||
<?php if (! $not_editable && $swimlane['nb_tasks'] > 0): ?>
|
||||
<?php if (! $not_editable): ?>
|
||||
<a href="#" class="board-swimlane-toggle" data-swimlane-id="<?= $swimlane['id'] ?>">
|
||||
<i class="fa fa-minus-circle hide-icon-swimlane-<?= $swimlane['id'] ?>"></i>
|
||||
<i class="fa fa-plus-circle show-icon-swimlane-<?= $swimlane['id'] ?>" style="display: none"></i>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -225,7 +225,7 @@ Board.prototype.hideColumn = function(columnId) {
|
|||
|
||||
$(".board-column-" + columnId + " .board-rotation").each(function() {
|
||||
var position = $(".board-swimlane").position();
|
||||
$(".board-column-task-collapsed").height($(window).height() - position.top);
|
||||
// $(".board-column-task-collapsed").height($(window).height() - position.top);
|
||||
$(this).css("width", $(".board-column-" + columnId + "").height());
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue