mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 22:55:34 +08:00
Fix smart anotation to task assigned items [SCI-11897]
This commit is contained in:
parent
fe7cf6cbb1
commit
c1596b90ae
2 changed files with 10 additions and 12 deletions
|
@ -100,6 +100,14 @@ var MyModuleRepositories = (function() {
|
|||
return columns;
|
||||
}
|
||||
|
||||
function renderSmartAnnotations() {
|
||||
const scrollElement = $('#myModuleRepositoryFullViewModal .dataTables_scrollBody')[0];
|
||||
scrollElement.classList.remove('sa-initialized');
|
||||
window.renderElementSmartAnnotations(scrollElement, '.text-value', scrollElement);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function fullViewColumnDefs(tableContainer) {
|
||||
let columnDefs = [{
|
||||
targets: 0,
|
||||
|
@ -344,6 +352,8 @@ var MyModuleRepositories = (function() {
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
renderSmartAnnotations();
|
||||
},
|
||||
|
||||
stateLoadCallback: function(settings, callback) {
|
||||
|
|
|
@ -147,18 +147,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
tr[data-state]:not([data-state='']) {
|
||||
td.item-name::after {
|
||||
@include font-small;
|
||||
background-color: $color-concrete;
|
||||
color: $color-silver-chalice;
|
||||
content: attr(data-state);
|
||||
margin-left: 20px;
|
||||
padding: .3em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
tr[data-shared=true],
|
||||
tr[data-i-shared=true] {
|
||||
td.item-name::before {
|
||||
|
|
Loading…
Add table
Reference in a new issue