Remove some old files, updated guest urls to work with the new multi company features, and some other multi company update

This commit is contained in:
johnny@pittpc.com
2019-08-15 18:29:28 -04:00
parent 01f820b394
commit 5ca8d201b0
25 changed files with 554 additions and 1483 deletions

View File

@@ -1,33 +1,11 @@
//Prevents resubmit on forms
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
if(window.history.replaceState){
window.history.replaceState(null, null, window.location.href);
}
// Call the dataTables jQuery plugin
$('#dataTable').dataTable( {
order: [],
language: {
search: "_INPUT_",
searchPlaceholder: "Search",
sLengthMenu: "_MENU_",
sInfo: "_START_-_END_ of _TOTAL_",
paginate: {
previous: '<i class="fa fa-angle-left"></i>',
next: '<i class="fa fa-angle-right"></i>'
}
}
});
$(function () {
$('#datepicker').datetimepicker({
format: 'L'
});
});
//Slide alert up after 2 secs
$("#alert").fadeTo(2000, 500).slideUp(500, function(){
$("#alert").slideUp(500);
$("#alert").slideUp(500);
});
new EasyMDE({
@@ -36,9 +14,8 @@ new EasyMDE({
});
new EasyMDE({
autoDownloadFontAwesome: false,
autofocus: true,
forceSync: true,
element: document.getElementById('editClientNote')
autoDownloadFontAwesome: false,
autofocus: true,
forceSync: true,
element: document.getElementById('editClientNote')
});