mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Calendar: JS changes from previous commit
This commit is contained in:
parent
bfbf3183e1
commit
21356434c7
@ -1898,7 +1898,8 @@ var et2_calendar_planner = /** @class */ (function (_super) {
|
|||||||
do {
|
do {
|
||||||
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 {
|
||||||
break;
|
break;
|
||||||
@ -1908,7 +1909,7 @@ var et2_calendar_planner = /** @class */ (function (_super) {
|
|||||||
return false;
|
return false;
|
||||||
// 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');
|
||||||
var row_widget = null;
|
var row_widget = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user