diff --git a/Web/Resgrid.WebCore/Areas/User/Views/Mapping/StationRouting.cshtml b/Web/Resgrid.WebCore/Areas/User/Views/Mapping/StationRouting.cshtml
index f20a7eb0..410e78eb 100644
--- a/Web/Resgrid.WebCore/Areas/User/Views/Mapping/StationRouting.cshtml
+++ b/Web/Resgrid.WebCore/Areas/User/Views/Mapping/StationRouting.cshtml
@@ -12,6 +12,8 @@
}
+
+
Station Routing
diff --git a/Web/Resgrid.WebCore/wwwroot/js/app/internal/calendar/resgrid.calendar.editEntry.js b/Web/Resgrid.WebCore/wwwroot/js/app/internal/calendar/resgrid.calendar.editEntry.js
index 9834f56e..fb98a73f 100644
--- a/Web/Resgrid.WebCore/wwwroot/js/app/internal/calendar/resgrid.calendar.editEntry.js
+++ b/Web/Resgrid.WebCore/wwwroot/js/app/internal/calendar/resgrid.calendar.editEntry.js
@@ -34,7 +34,7 @@ var resgrid;
step: 1
});
- var quill = new Quill('#editor-container', {
+ let quill = new Quill('#editor-container', {
placeholder: '',
theme: 'snow'
});
diff --git a/Web/Resgrid.WebCore/wwwroot/js/app/internal/documents/resgrid.documents.newdocument.js b/Web/Resgrid.WebCore/wwwroot/js/app/internal/documents/resgrid.documents.newdocument.js
index c5f0919b..ecfd1f35 100644
--- a/Web/Resgrid.WebCore/wwwroot/js/app/internal/documents/resgrid.documents.newdocument.js
+++ b/Web/Resgrid.WebCore/wwwroot/js/app/internal/documents/resgrid.documents.newdocument.js
@@ -6,24 +6,24 @@ var resgrid;
var newdocument;
(function (newdocument) {
$(document).ready(function () {
- $("#Document_Description").kendoEditor();
+ let quill = new Quill('#editor-container', {
+ placeholder: '',
+ theme: 'snow'
+ });
+
+ $(document).on('submit', '#newDocumentForm', function () {
+ $('#Document_Description').val(quill.root.innerHTML);
+
+ return true;
+ });
+
+
$("#fileToUpload").kendoUpload({
multiple: false,
localization: {
select: "Select File"
}
});
- $("#Category").kendoComboBox({
- minLength: 3,
- dataSource: {
- type: "json",
- transport: {
- read: resgrid.absoluteBaseUrl + '/User/Documents/GetDepartmentDocumentCategories'
- }
- },
- filter: "contains",
- suggest: true
- });
});
})(newdocument = documents.newdocument || (documents.newdocument = {}));
})(documents = resgrid.documents || (resgrid.documents = {}));