# HG changeset patch # User Franck Deroche # Date 1293800621 -3600 # Node ID 09e998f65556299f6d764ba342a8fc10f78e90ae # Parent 5efa741592f976b610cdc3bf66ad0f63ed1495c3 Provides a mechanism for a form to explicitely opt out of being ajaxForm-ed diff -r 5efa741592f9 -r 09e998f65556 popups.js --- a/popups.js Fri Dec 31 14:02:22 2010 +0100 +++ b/popups.js Fri Dec 31 14:03:41 2010 +0100 @@ -922,7 +922,7 @@ popup.refocus(); // If the popups contains a form, capture submits. - var $form = $('form', popup.$popupBody()); + var $form = $('form:not(.no-popup)', popup.$popupBody()); if ($form.length) { $form.ajaxForm({ dataType: 'json',