Fix: Six ajax modals had dead JS - DOMContentLoaded had already fired before their scripts were injected. New itflowReady() helper restores jQuery .ready() semantics. Fixes notification pagination, asset OS autocomplete, contact auth toggle, AI ticket summary, AI document template generation

This commit is contained in:
johnnyq
2026-08-28 19:41:00 -04:00
parent 3277567b87
commit 950d02d6ab
7 changed files with 28 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ ob_start();
</form>
<script>
document.addEventListener('DOMContentLoaded', function () {
itflowReady(function () {
var button = document.getElementById('generateAIContent');
var promptField = document.getElementById('aiPrompt');