mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
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:
37
js/app.js
37
js/app.js
@@ -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')
|
||||
});
|
||||
Reference in New Issue
Block a user