Merge pull request #2326 from urbanrotnik/ur-sci-4236

Scroll left on new item in repository datatables [SCI-4236]
This commit is contained in:
Miha Mencin 2020-01-16 17:30:01 +01:00 committed by GitHub
commit 16724f622c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,6 +99,10 @@ var RepositoryDatatableRowEditor = (function() {
TABLE.ajax.reload(() => {
animateSpinner(null, false);
HelperModule.flashAlertMsg(data.flash, 'success');
window.scrollTo({
left: 0,
behavior: 'smooth'
});
});
});