Lines 885-902
function _dt_buttons(params) {
Link Here
|
885 |
}); |
885 |
}); |
886 |
} |
886 |
} |
887 |
|
887 |
|
888 |
buttons.push({ |
888 |
if (typeof window.exports_enabled === "undefined") { |
889 |
extend: "collection", |
889 |
window.exports_enabled = 1; |
890 |
autoClose: true, |
890 |
} |
891 |
fade: 100, |
891 |
|
892 |
className: "export_controls", |
892 |
if (exports_enabled) { |
893 |
titleAttr: __("Export or print"), |
893 |
buttons.push({ |
894 |
text: |
894 |
extend: "collection", |
895 |
'<i class="fa fa-lg fa-download"></i> <span class="dt-button-text">' + |
895 |
autoClose: true, |
896 |
__("Export") + |
896 |
fade: 100, |
897 |
"</span>", |
897 |
className: "export_controls", |
898 |
buttons: export_buttons, |
898 |
titleAttr: __("Export or print"), |
899 |
}); |
899 |
text: |
|
|
900 |
'<i class="fa fa-lg fa-download"></i> <span class="dt-button-text">' + |
901 |
__("Export") + |
902 |
"</span>", |
903 |
buttons: export_buttons, |
904 |
}); |
905 |
} |
900 |
|
906 |
|
901 |
if (table_settings) { |
907 |
if (table_settings) { |
902 |
const writeToClipboard = async (text, node) => { |
908 |
const writeToClipboard = async (text, node) => { |
903 |
- |
|
|