- Issue created by @mglaman
- Status changed to Needs review
about 1 year ago 2:49pm 5 July 2024
Right now the toast notification for "Saving draft..." automatically hides after a delay:
if (Drupal.autosaveForm.notification.active) {
$('#autosave-notification').fadeIn().delay(Drupal.autosaveForm.notification.delay).fadeOut();
}
However, this doesn't mean the form actually saved. The fadeIn
should be called immediately and the fadeOut
once success
or error
callback is invoked.
Or, actually in ajax.options.complete
Needs review
1.0
Code