mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
fix printing when there is multiple gantt charts
This commit is contained in:
@@ -295,7 +295,11 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
|
|||||||
$(".gantt-chart").removeClass("no-print");
|
$(".gantt-chart").removeClass("no-print");
|
||||||
$(".gantt-chart")
|
$(".gantt-chart")
|
||||||
.not("#gantt-" + blenderId)
|
.not("#gantt-" + blenderId)
|
||||||
.addClass("your-css-class");
|
.addClass("no-print");
|
||||||
|
|
||||||
|
$(".gantt-info")
|
||||||
|
.not("#gantt-info-" + blenderId)
|
||||||
|
.addClass("no-print");
|
||||||
|
|
||||||
var values = $("#print-options-" + blenderId)
|
var values = $("#print-options-" + blenderId)
|
||||||
.val()
|
.val()
|
||||||
|
|||||||
Reference in New Issue
Block a user