mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +08:00
Scroll left on new item in datatables
This commit is contained in:
parent
7655dd0bea
commit
96457d07bb
1 changed files with 4 additions and 0 deletions
|
@ -99,6 +99,10 @@ var RepositoryDatatableRowEditor = (function() {
|
|||
TABLE.ajax.reload(() => {
|
||||
animateSpinner(null, false);
|
||||
HelperModule.flashAlertMsg(data.flash, 'success');
|
||||
window.scrollTo({
|
||||
left: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue