mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +02:00
N°1716 - "Group by" Dashlet is no more clickable in edition
This commit is contained in:
@@ -1272,6 +1272,10 @@ abstract class DashletGroupBy extends Dashlet
|
||||
$sBlockId = 'block_'.$this->sId.($bEditMode ? '_edit' : ''); // make a unique id (edition occuring in the same DOM)
|
||||
$oBlock = new DisplayBlock($oFilter, $sType);
|
||||
$oBlock->Display($oPage, $sBlockId, array_merge($aExtraParams, $aParams));
|
||||
if($bEditMode)
|
||||
{
|
||||
$oPage->add('<div class="dashlet-blocker"></div>');
|
||||
}
|
||||
$oPage->add('</div>');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2134,6 +2134,17 @@ select#org_id {
|
||||
padding: 5px;
|
||||
margin: 0;
|
||||
}
|
||||
/* Prevent cursor clicking on the calendar (eg. While editing dashlet) */
|
||||
.dashlet-blocker {
|
||||
position: absolute;
|
||||
z-index: 9;
|
||||
/* To be above calendar links & all, but below .close-box (9) */
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
td.layout_cell {
|
||||
height: 50px;
|
||||
/* min-height does not work */
|
||||
|
||||
@@ -2478,6 +2478,16 @@ select#org_id {
|
||||
padding: 5px;
|
||||
margin:0;
|
||||
}
|
||||
/* Prevent cursor clicking on the calendar (eg. While editing dashlet) */
|
||||
.dashlet-blocker {
|
||||
position: absolute;
|
||||
z-index: 9; /* To be above calendar links & all, but below .close-box (9) */
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
td.layout_cell {
|
||||
height: 50px; /* min-height does not work */
|
||||
vertical-align: top;
|
||||
|
||||
Reference in New Issue
Block a user