From 19ec1d6efb199ed6c2f0a903c557181ddd0901c4 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 5 Jan 2015 13:40:25 -0500 Subject: [PATCH] CRM-15409 - Fix handling of traditional links in popups --- js/crm.ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/crm.ajax.js b/js/crm.ajax.js index 2a48af1460..c492f21b9e 100644 --- a/js/crm.ajax.js +++ b/js/crm.ajax.js @@ -502,7 +502,7 @@ if (!identifier || identifier === '#' || $.inArray(identifier, added) < 0) { var $icon = $el.find('.icon'), button = {'data-identifier': identifier, text: label, click: function() { - $el.click(); + $el[0].click(); }}; if ($icon.length) { button.icons = {primary: $icon.attr('class')}; -- 2.25.1