From 646774ec86b6a34dd2d7942b2753cfcbf89d5612 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Tue, 13 Oct 2015 13:22:38 -0400 Subject: [PATCH] CRM-16415 merge stuff in old commit ---------------------------------------- * CRM-16415: Implement Font Awesome icon font https://issues.civicrm.org/jira/browse/CRM-16415 --- js/crm.ajax.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/crm.ajax.js b/js/crm.ajax.js index 9dc1982e36..96a6df7377 100644 --- a/js/crm.ajax.js +++ b/js/crm.ajax.js @@ -497,18 +497,6 @@ $el.parents(buttonContainers).css({height: 0, padding: 0, margin: 0, overflow: 'hidden'}).find('.crm-button-icon').hide(); }); $el.dialog('option', 'buttons', buttons); -<<<<<<< HEAD -======= - - // Show done button for non-ajax dialogs (e.g. file downloads) - $(this).on('submit', "form[data-no-ajax-submit=true]", function() { - $el.dialog('option', 'buttons', [{ - text: ts('Done'), - icons: {primary: 'fa-times'}, - click: function() {$(this).dialog('close');} - }]); - }); ->>>>>>> 11e4f91... CRM-16415 Print icons and more } // Allow a button to prevent ajax submit $('input[data-no-ajax-submit=true]').click(function() { -- 2.25.1