Where could I suppress the "are you sure you want to leave this page" popup when leaving a contribution page (e.g. donation) without actually proceeding with the contribution. I realize it may be there to prevent leaving the page accidentally mid-way through filling out the form but I actually think it's more annoying than helpful in the fraction of accidental cases. Also, I have a Facebook login on the page, which, when utilized, forces the page to reload and thus invokes the 'leave this page' popup. This is confusing to the user who wouldn't know they need to hit the "leave this page" button in order to get logged in (not to mention they'll actually stay on the page, hence the confusion).
This is on Joomla (3.4.4 w/ CiviCRM 4.6.9)
I'm assuming there's an
onbeforeunload function - one appears in /administrator/components/com_civicrm/civicrm/js/Common.js
The warning appears even when the user has not made any entries on the form. Shouldn't the warning only pop up when they do?
Thank you for any pointers.