New submitOnce implementation freezes the back button even after batch receipting is finished
Created by: demeritcowboy
I didn't notice this in my original testing of https://github.com/jake-mw/CDNTaxReceipts/pull/94. When you do for example a contribution search, select a couple, and then choose either aggregate or separate receipts from the actions dropdown, you get a batch screen with a Back button and a Download button. Because clicking the download button doesn't navigate away to a new screen like submit buttons on a normal form, the freeziness never goes away, which is good in that you can't re-click Download or mess up the download by clicking Back before it's finished, but bad in that you can't click Back after the download completes.
Personally I rarely use Back or Done buttons on screens and just usually proceed on to whereever else my whims take me, which avoids the problem, but on this screen the Back button does seem useful sometimes.
The original submitOnce function is still available in core and these forms work ok with it, so reverting is temporarily an option.
Some other ideas:
- I have no unawkward ideas at the moment.