Bug report: Bootstrap Buttons Extension with SearchBuilder via button (Bootstrap 3)
Bug report: Bootstrap Buttons Extension with SearchBuilder via button (Bootstrap 3)
Link to test case: http://live.datatables.net/yatelebo/1/edit?html,js,output
Debugger code (debug.datatables.net): epulon
Error messages shown: None
Description of problem: When implementing SearchBuilder via a button, using Bootstrap 3 styling framework and the latest version of the buttons extension for bootstrap, The SearchBuilder modal does not display any content.
The bug is not present in buttons 2.1.1 and earlier, which can be demonstrated in the above test case by replacing the link to the buttons.bootstrap.min.css link with the 2.1.1 version.
The bug appears to be caused by the removal of the following css rule after 2.1.1:
div.dt-button-collection > :last-child {
display: block !important;
-webkit-column-gap: 8px;
-moz-column-gap: 8px;
-ms-column-gap: 8px;
-o-column-gap: 8px;
column-gap: 8px;
}
Replies
It looks to me like this bug was introduced with the following commit: https://github.com/DataTables/Buttons/commit/6049a1106d93c2db73dba034d0550c1d61d051a9
Hi,
Many thanks for pointing out this error! I've committed the fix here and it will be in the nightly build shortly.
Allan
... and here's the fix behaving as expected! http://live.datatables.net/mosemuma/1/edit
Colin