mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Calendar: Fix planner causes app tabs to show when printing
This commit is contained in:
parent
650d76bd5c
commit
0ba0d746da
@ -2437,7 +2437,8 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
|||||||
row = document.elementFromPoint(x, y);
|
row = document.elementFromPoint(x, y);
|
||||||
if(this.div.has(row).length == 0)
|
if(this.div.has(row).length == 0)
|
||||||
{
|
{
|
||||||
hidden_nodes.push(jQuery(row).hide());
|
hidden_nodes.push({element: row, display: row.style.display});
|
||||||
|
row.style.display = "none";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -2449,7 +2450,7 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
|||||||
// Restore hidden nodes
|
// Restore hidden nodes
|
||||||
for(var i = 0; i < hidden_nodes.length; i++)
|
for(var i = 0; i < hidden_nodes.length; i++)
|
||||||
{
|
{
|
||||||
hidden_nodes[i].show();
|
hidden_nodes[i].element.style.display = hidden_nodes[i].display;
|
||||||
}
|
}
|
||||||
row = jQuery(row).closest('.calendar_plannerRowWidget');
|
row = jQuery(row).closest('.calendar_plannerRowWidget');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user