| 1 | |
| 2 | (function($, DataTables){ |
| 3 | |
| 4 | $.extend( true, DataTables.Buttons.defaults, { |
| 5 | dom: { |
| 6 | container: { |
| 7 | className: 'dt-buttons ui-buttonset' |
| 8 | }, |
| 9 | button: { |
| 10 | className: 'dt-button ui-button ui-state-default ui-button-text-only', |
| 11 | disabled: 'ui-state-disabled', |
| 12 | active: 'ui-state-active' |
| 13 | }, |
| 14 | buttonLiner: { |
| 15 | tag: 'span', |
| 16 | className: 'ui-button-text' |
| 17 | } |
| 18 | } |
| 19 | } ); |
| 20 | |
| 21 | DataTables.ext.buttons.collection.text = function ( dt ) { |
| 22 | return dt.i18n('buttons.collection', 'Collection <span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"/>'); |
| 23 | }; |
| 24 | |
| 25 | |
| 26 | })(jQuery, jQuery.fn.dataTable); |