mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 14:46:47 +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);
|
SmartAnnotation.init(el);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// Adjust columns width in table header
|
|
||||||
adjustTableHeader();
|
|
||||||
// Init selectpicker
|
// Init selectpicker
|
||||||
_initSelectPicker();
|
_initSelectPicker();
|
||||||
|
// Adjust columns width in table header
|
||||||
|
adjustTableHeader();
|
||||||
}
|
}
|
||||||
|
|
||||||
global.onClickToggleAssignedRecords = function() {
|
global.onClickToggleAssignedRecords = function() {
|
||||||
|
@ -673,7 +674,7 @@ var RepositoryDatatable = (function(global) {
|
||||||
// initialize smart annotation
|
// initialize smart annotation
|
||||||
_.each($('[data-object="repository_cell"]'), function(el) {
|
_.each($('[data-object="repository_cell"]'), function(el) {
|
||||||
if (_.isUndefined($(el).data('atwho'))) {
|
if (_.isUndefined($(el).data('atwho'))) {
|
||||||
SmartAnnotation.init(el);
|
SmartAnnotation.init(el);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// Adjust columns width in table header
|
// Adjust columns width in table header
|
||||||
|
|
Loading…
Add table
Reference in a new issue