mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
replaced SimpleMDE with EasyMDE as SimpleMDE is no longer being maintained MDE now works for client notes also added a MD php parser called parsedown
This commit is contained in:
10
js/app.js
10
js/app.js
@@ -45,4 +45,14 @@ $(function() {
|
||||
var url = window.location.pathname;
|
||||
var filename = url.substr(url.lastIndexOf('/') + 1);
|
||||
$('.navbar-nav a[href$="' + filename + '"]').parent().addClass("active");
|
||||
});
|
||||
|
||||
new EasyMDE({
|
||||
autoDownloadFontAwesome: false,
|
||||
element: document.getElementById('addClientNote')
|
||||
});
|
||||
|
||||
new EasyMDE({
|
||||
autoDownloadFontAwesome: false,
|
||||
element: document.getElementById('editClientNote')
|
||||
});
|
||||
Reference in New Issue
Block a user