ChatGPT's update to harden software and run db updates.

This commit is contained in:
2026-10-21 06:53:45 -04:00
parent 1e63076123
commit acc8cb70f5
171 changed files with 9325 additions and 404 deletions
+3 -44
View File
@@ -6,54 +6,13 @@
$(document).ready(function () {
var $application = $("#APPLICATION_MNEMONIC").val(),
$sessionStorage = JSON.parse(sessionStorage.getItem($application) || "{}"),
$CKEditor;
$sessionStorage = JSON.parse(sessionStorage.getItem($application) || "{}");
// ----------------------
// Initialize the Editor.
// ----------------------
ClassicEditor
.create(document.querySelector('#popover_text'), {
toolbar: {
items: [
'heading',
'|',
'bold',
'italic',
'underline',
'link',
'bulletedList',
'numberedList',
'|',
'fontColor',
'fontSize',
'fontFamily',
'|',
'indent',
'outdent',
'alignment',
'|',
'horizontalLine',
'insertTable',
'|',
'undo',
'redo',
'|'
]},
link: {
addTargetToExternalLinks: true,
defaultProtocol: "http://"
}
})
.then(editor => {
$CKEditor = editor;
})
.catch(error => {
console.error('CK-Editor error...');
console.error(error);
});
HcrRichText.create(document.querySelector('#popover_text'));
// -----------
// Save Button
@@ -114,7 +73,7 @@ $(document).ready(function () {
e.preventDefault();
$CKEditor.updateSourceElement();
if (!HcrRichText.sync(document.querySelector('#popover_text'))) return;
$.post("./", $(this).serialize())