Fixed Preview button can be clicked multiple times before AJAX call has returned

Jon W

Well-known member
Affected version
2.0.10
In XF.PreviewClick, this.loading is never set to true (even though it is always checked and always set to false once the call has completed), so there is nothing to stop the Preview button being clicked multiple times before the response has been returned.
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.11).

Change log:
Track when a preview is pending to prevent multiple simultaneous preview loads.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom