Merge pull request #2702 from aignatov-bio/ai-sci-4800-keep-table-page-after-item-update

Keep table page after repository item update [SCI-4800]
This commit is contained in:
aignatov-bio 2020-07-08 09:30:26 +02:00 committed by GitHub
commit 8c91181abc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ var RepositoryDatatableRowEditor = (function() {
animateSpinner(null, false);
HelperModule.flashAlertMsg(data.flash, 'success');
$('html, body').animate({ scrollLeft: 0 }, 300);
});
}, false);
});
$table.on('ajax:error', `.${EDIT_FORM_CLASS_NAME}`, function(ev, data) {