From: Coleman Watts Date: Thu, 3 Dec 2015 19:26:27 +0000 (-0500) Subject: Fix icons in popup buttons X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6431a03268d3b0ffcffecaccbc827fa25d2fd71a;p=civicrm-core.git Fix icons in popup buttons --- diff --git a/js/crm.ajax.js b/js/crm.ajax.js index a1284a765c..91565ef603 100644 --- a/js/crm.ajax.js +++ b/js/crm.ajax.js @@ -464,7 +464,7 @@ label = $el.is('input') ? $el.attr('value') : $el.text(), identifier = $el.attr('name') || $el.attr('href'); if (!identifier || identifier === '#' || $.inArray(identifier, added) < 0) { - var $icon = $el.find('.icon'), + var $icon = $el.find('.icon, .crm-i'), button = {'data-identifier': identifier, text: label, click: function() { $el[0].click(); }};