//Prevents resubmit on forms
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
//Data Tables Options
$('#dt').dataTable( {
"aaSorting": [],
"order": [],
language: {
search: '_INPUT_',
searchPlaceholder: "Enter search...",
sLengthMenu: "_MENU_",
sInfo: "records: _START_-_END_ of _TOTAL_",
paginate: {
previous: '',
next: ''
}
}
});
// Call the dataTables jQuery plugin
$('#dataTable').DataTable();
$('#dT').dataTable( {
"order": [],
"columnDefs": [
{ "orderable": false, "targets":[""]}
],
"orderCellsTop": true,
language: {
search: "_INPUT_",
searchPlaceholder: "Search",
sLengthMenu: "_MENU_",
sInfo: "_START_-_END_ of _TOTAL_",
paginate: {
previous: '',
next: ''
}
}
});
new EasyMDE({
autoDownloadFontAwesome: false,
element: document.getElementById('addClientNote')
});
new EasyMDE({
autoDownloadFontAwesome: false,
element: document.getElementById('editClientNote')
});