mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-08 14:15:35 +08:00
fixes datatable header on add new item action
This commit is contained in:
parent
6585eaa338
commit
10d20a6555
1 changed files with 4 additions and 3 deletions
|
@ -475,10 +475,11 @@ var RepositoryDatatable = (function(global) {
|
|||
SmartAnnotation.init(el);
|
||||
}
|
||||
});
|
||||
// Adjust columns width in table header
|
||||
adjustTableHeader();
|
||||
|
||||
// Init selectpicker
|
||||
_initSelectPicker();
|
||||
// Adjust columns width in table header
|
||||
adjustTableHeader();
|
||||
}
|
||||
|
||||
global.onClickToggleAssignedRecords = function() {
|
||||
|
@ -673,7 +674,7 @@ var RepositoryDatatable = (function(global) {
|
|||
// initialize smart annotation
|
||||
_.each($('[data-object="repository_cell"]'), function(el) {
|
||||
if (_.isUndefined($(el).data('atwho'))) {
|
||||
SmartAnnotation.init(el);
|
||||
SmartAnnotation.init(el);
|
||||
}
|
||||
});
|
||||
// Adjust columns width in table header
|
||||
|
|
Loading…
Add table
Reference in a new issue