mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-30 17:04:31 +08:00
Merge pull request #1216 from ZmagoD/zd_SCI_2408_v2
fix columns check [fixes SCI-2408]
This commit is contained in:
commit
be0429a084
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ var RepositoryDatatable = (function(global) {
|
||||||
present_columns.push(id);
|
present_columns.push(id);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if( !_.isEqual(columns_ids, present_columns) ) {
|
if( !_.isEqual(columns_ids.sort(), present_columns.sort()) ) {
|
||||||
alert($(TABLE_ID).data('columns-changed'));
|
alert($(TABLE_ID).data('columns-changed'));
|
||||||
animateSpinner();
|
animateSpinner();
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
Loading…
Add table
Reference in a new issue