Refactor ajax-form.js replaceDocument function #9047
Unanswered
salicius
asked this question in
Question & Answer
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to rebuild the
ajax-form.js
cause it replaces the entire file, but I need to replace only a specific tag, so I edited the replaceDocument function. My code works on first click but if the user click again on OPTIONS button it does the call again (instead doing nothing), goes on path "/?" and restore the content of the base template. How can i fix it ?Beta Was this translation helpful? Give feedback.
All reactions