From 4161bf6ef95ff2f9be2e1f797b86885452354c59 Mon Sep 17 00:00:00 2001 From: Floris Date: Sat, 15 Feb 2014 16:57:26 +0100 Subject: [PATCH] Modal close-button style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not add the ‚btn-primary’ class to the close buttons --- interfaces/default/js/default.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/interfaces/default/js/default.js b/interfaces/default/js/default.js index 4f033ed9b..1b323536e 100644 --- a/interfaces/default/js/default.js +++ b/interfaces/default/js/default.js @@ -130,7 +130,6 @@ function showModal(title, content, buttons) { $('#modal_dialog .modal-h3').html(title) $('#modal_dialog .modal-body').html(content) var footer = $('#modal_dialog .modal-footer').empty() - $.extend(buttons, {'Close': hideModal}) $.each(buttons, function (name, action) { footer.append( $('