Remove the js alert message when jqueryValidation fails on frontend pages
authoreileen <emcnaughton@wikimedia.org>
Mon, 22 Jul 2019 07:12:18 +0000 (19:12 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 25 Jul 2019 02:27:15 +0000 (14:27 +1200)
commitcd73f9c505d2b50f418df33fca2aadcc677abd55
treeb907256c9d7d6bc59a8211455a638ae4fd912e2f
parent39a2630f0e7a413bb744b1b52a9f999f04780c9a
Remove the js alert message when jqueryValidation fails on frontend pages

It's really really ugly & as discussed without it
a) extensions can still opt to display the errors themselves and
b) the inline errors still appear.

Note this will have no real affect on existing code - the ugliness of this has been
a blocker to getting into front end validation & at this stage only the
omnipay extension is trying to work in this space.
https://github.com/eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor/pull/128

I think ideally with Omnipay it DOES makes sense to display messages
near the checkout button - which might be a future step
templates/CRM/common/l10n.js.tpl