Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger a new ajaxRedirect event and handle it in the loading indicator #70

Merged
merged 3 commits into from
Apr 9, 2021

Conversation

mjauvin
Copy link
Member

@mjauvin mjauvin commented Apr 8, 2021

Cleaner way to disable loading indicator when an AJAX handler returns a redirect reponse.

ref. octobercms/october@99a0861
ref. octobercms/october#5555
ref. octobercms/october#5055

replaces octobercms/october#5321

mjauvin and others added 2 commits April 8, 2021 20:05
…ct response via AJAX.

Fixes: octobercms/october#5555

Tested by wintercms/wn-test-plugin@9fb25e2

Refs:
- octobercms/october#5055 (original issue attempted to solve with previous code)
- octobercms/october#2780 (original issue regarding the hash change redirect not closing the loading indicator)
- octobercms/october@99a0861 (October's solution to the issue)
@LukeTowers LukeTowers added this to the v1.1.3 milestone Apr 9, 2021
@LukeTowers LukeTowers merged commit 04014b6 into develop Apr 9, 2021
@mjauvin mjauvin deleted the hide-loading-indicator-on-redirect branch April 9, 2021 03:34
LukeTowers added a commit that referenced this pull request Apr 13, 2021
* develop:
  Improves Froala richeditor link insertion via the pagelinks plugin
  Improve reliability of context sidenav partials
  Trigger a new ajaxRedirected event and handle it in the loading indicator (#70)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants