Reloading Page and Problem of Returning from Browser

Hello, I fill out and submit forms in my application. After submitting a form, I call the close page (all) action and return to the home page. However, the app has a LanguageSwitcher module that I downloaded from the market place, and whenever I switch the language, it calls a reload page (it uses javaScript and uses mx.reloadWithState(); function) . For this reason, the close page action does not work. When you submit the form, it remains on the same form screen instead of returning to the home page. Moreover, what I write in the form is not deleted and I can submit the same form once again. Even if I can somehow return to the home page, it returns to this form when I press the back button on the browser a few times. How can I solve it?
0 answers