Merge pull request #11961 from colemanw/CRM-21843
[civicrm-core.git] / js / crm.ajax.js
index 262227ea895c2541ad775bde62b26a4f4217b353..9cb5eb601e0985c32784f8fa7724f2657be552b4 100644 (file)
       settings = $el.data('popup-settings') || {},
       formData = false;
     settings.dialog = settings.dialog || {};
-    if (e.isDefaultPrevented() || !CRM.config.ajaxPopupsEnabled || !url || $el.is(exclude)) {
+    if (e.isDefaultPrevented() || !CRM.config.ajaxPopupsEnabled || !url || $el.is(exclude + ', .open-inline, .open-inline-noreturn')) {
       return;
     }
     // Sized based on css class