mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
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:
commit
8c91181abc
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ var RepositoryDatatableRowEditor = (function() {
|
||||||
animateSpinner(null, false);
|
animateSpinner(null, false);
|
||||||
HelperModule.flashAlertMsg(data.flash, 'success');
|
HelperModule.flashAlertMsg(data.flash, 'success');
|
||||||
$('html, body').animate({ scrollLeft: 0 }, 300);
|
$('html, body').animate({ scrollLeft: 0 }, 300);
|
||||||
});
|
}, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
$table.on('ajax:error', `.${EDIT_FORM_CLASS_NAME}`, function(ev, data) {
|
$table.on('ajax:error', `.${EDIT_FORM_CLASS_NAME}`, function(ev, data) {
|
||||||
|
|
Loading…
Reference in a new issue