mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 17:09:45 +08:00
Merge pull request #2394 from okriuchykhin/ok_SCI_4331
Fix DateTime picker for repositories edit mode [SCI-4331]
This commit is contained in:
commit
4b880de3b4
3 changed files with 23 additions and 23 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -7,13 +7,11 @@
|
|||
margin-top: 20px;
|
||||
|
||||
&.editing {
|
||||
tbody>tr {
|
||||
&:not(.editing) {
|
||||
tbody>tr.blocked {
|
||||
opacity: .4;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dataTables_filter {
|
||||
float: right;
|
||||
|
|
Loading…
Reference in a new issue