Modal title appearing after close ('x') button
Modal title appearing after close ('x') button
bigbenchrob
Posts: 26Questions: 9Answers: 2
in Editor
I've recently made changes to my Editor configuration and the following behaviour has popped up:
<div data-dte-e="head" class="DTE_Header modal-header">
<button class="close">x</button>
<div class="DTE_Header_Content"><h5 class="modal-title">New record</h5></div>
</div>
i.e. in the Editor modal dialog, the title appears to the right of the close button.
I initialize the Create button as follows:
new $.fn.dataTable.Buttons( datatable, {
buttons: [
{
text: 'New...',
action: function ( e, dt, node, config ) {
bb.editor.create(
{
submitOnReturn: false,
title: '<h5 class="modal-title">New record</h5>'
}
);
}
}
]
} );
datatable.buttons().container()
.appendTo( $('.buttonSlot', datatable.table().container() ) );
Allan, I can supply a page link and password if you need it.
Thanks in advance.
This discussion has been closed.
Answers
Yes please - could you post it here or send me a PM (click my name above and then Send message). It sounds like a CSS issue, but I'm not sure where. Are your CSS files up to date to match the version of the Editor Javascript?
Allan
Have PM'd. Editor JS and CSS files are from the same folder (Editor-PHP-1.7.4)