CRM-15409 - Fix handling of traditional links in popups
authorColeman Watts <coleman@civicrm.org>
Mon, 5 Jan 2015 18:40:25 +0000 (13:40 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 5 Jan 2015 18:40:25 +0000 (13:40 -0500)
js/crm.ajax.js

index 2a48af14607ee529d918a15134237a4644125e0e..c492f21b9ead3d182d3575d09ade617ab0dc8a59 100644 (file)
           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')};