cusom and custom min fixed

This commit is contained in:
gnaouis47 2017-11-19 20:56:42 +01:00
parent 63abda5285
commit 56a5f581de
3 changed files with 3 additions and 34 deletions

View file

@ -2515,7 +2515,7 @@ if (typeof NProgress != 'undefined') {
var handleDataTableButtons = function() {
if ($("#datatable-buttons").length) {
$("#datatable-buttons").DataTable({
dom: "Bfrtip",
dom: "Blfrtip",
buttons: [
{
extend: "copy",

File diff suppressed because one or more lines are too long

View file

@ -4206,39 +4206,8 @@
<script src="../vendors/pdfmake/build/pdfmake.min.js"></script>
<script src="../vendors/pdfmake/build/vfs_fonts.js"></script>
<script>
$(document).ready(function() {
$('#data-file-name').DataTable( {
dom: 'lBfrtip',
buttons: [
{ extend: 'csv',
text : 'Export to CSV',
filename: function(){
var fileName = prompt("Please enter your File Name");
if (fileName == null || fileName == "") {
return "Default name";
} else {
return fileName;
}
},
}
]
} );
} );
</script>
<!-- Custom Theme Scripts -->
<script src="../build/js/custom.min.js"></script>
<script src="../build/js/custom.js"></script>
</body>