special styling for checkboxes in table headers
This commit is contained in:
parent
48e42d41e1
commit
60c9de44c5
@ -74,3 +74,9 @@
|
|||||||
filter: grayscale(1);
|
filter: grayscale(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* special treatment for checkboxes in table headers */
|
||||||
|
th .checkbox {
|
||||||
|
margin-right: 7px;
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|||||||
@ -96,9 +96,9 @@
|
|||||||
checkAllCheckbox.setAttribute('id', getCheckboxId());
|
checkAllCheckbox.setAttribute('id', getCheckboxId());
|
||||||
th.insertBefore(checkAllCheckbox, th.firstChild);
|
th.insertBefore(checkAllCheckbox, th.firstChild);
|
||||||
|
|
||||||
// manually set up newly created checkbox
|
// manually set up new checkbox
|
||||||
if (UtilRegistry) {
|
if (UtilRegistry) {
|
||||||
UtilRegistry.setup(UtilRegistry.find('checkbox'));
|
UtilRegistry.setup(UtilRegistry.find('checkbox'), th);
|
||||||
}
|
}
|
||||||
|
|
||||||
checkAllCheckbox.addEventListener('input', onCheckAllCheckboxInput);
|
checkAllCheckbox.addEventListener('input', onCheckAllCheckboxInput);
|
||||||
|
|||||||
Reference in New Issue
Block a user