You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now clicking the save icon in the administration causes the entire page to reload, and does not place the browser back on the section that was previously visible.
Submitting this form via a javascript POST would avoid this issue entirely. The response (200/4xx) can trigger a temporary message that the changes were saved successfully.
The following jquery is an example of how it could work:
$('#update-settings').on('click',function(e){e.preventDefault();$.post(url,$('#settings-form').serialize(),function(){DisplayMessage("success",_("Settings updated."));}).fail(function(){DisplayMessage("error",_("Settings not updated."));});});
The text was updated successfully, but these errors were encountered:
Right now clicking the save icon in the administration causes the entire page to reload, and does not place the browser back on the section that was previously visible.
Submitting this form via a javascript POST would avoid this issue entirely. The response (200/4xx) can trigger a temporary message that the changes were saved successfully.
The following jquery is an example of how it could work:
The text was updated successfully, but these errors were encountered: