From: Coleman Watts Date: Thu, 8 Jan 2015 18:37:58 +0000 (-0500) Subject: CRM-15789 - Fix button display in popups X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e22a8e7aaf2a12f71d2d1492b26594983c2aa8af;p=civicrm-core.git CRM-15789 - Fix button display in popups --- diff --git a/js/crm.ajax.js b/js/crm.ajax.js index 5b02ef0137..0743d99aa0 100644 --- a/js/crm.ajax.js +++ b/js/crm.ajax.js @@ -515,7 +515,7 @@ added.push(identifier); } // display:none causes the form to not submit when pressing "enter" - $el.parents(buttonContainers).css({height: 0, padding: 0, margin: 0, overflow: 'hidden'}); + $el.parents(buttonContainers).css({height: 0, padding: 0, margin: 0, overflow: 'hidden'}).find('.crm-button-icon').hide(); }); $el.dialog('option', 'buttons', buttons); }