Merge pull request #2394 from okriuchykhin/ok_SCI_4331

Fix DateTime picker for repositories edit mode [SCI-4331]
This commit is contained in:
Alex Kriuchykhin 2020-02-10 10:18:08 +01:00 committed by GitHub
commit 4b880de3b4
3 changed files with 23 additions and 23 deletions

View file

@ -120,6 +120,7 @@ var RepositoryDatatable = (function(global) {
// Table specific stuff
TABLE.button(0).enable(true);
FilePreviewModal.init();
$(TABLE_WRAPPER_ID).find('tr').removeClass('blocked');
updateButtons();
disableCheckboxToggleOnCheckboxPreview();
}
@ -129,6 +130,7 @@ var RepositoryDatatable = (function(global) {
// Table specific stuff
TABLE.button(0).enable(false);
clearRowSelection();
$(TABLE_WRAPPER_ID).find('tr:not(.editing)').addClass('blocked');
updateButtons();
}

View file

@ -7,13 +7,11 @@
margin-top: 20px;
&.editing {
tbody>tr {
&:not(.editing) {
tbody>tr.blocked {
opacity: .4;
pointer-events: none;
}
}
}
.dataTables_filter {
float: right;