mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
Calendar: Fix planner causes app tabs to show when printing
This commit is contained in:
parent
11b9eb0350
commit
bfbf3183e1
@ -2424,7 +2424,8 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
||||
row = document.elementFromPoint(x, y);
|
||||
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
|
||||
{
|
||||
@ -2436,7 +2437,7 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
||||
// Restore hidden nodes
|
||||
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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user