mirror of
https://github.com/itflow-org/itflow
synced 2026-09-12 01:35:12 +00:00
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:
@@ -49,7 +49,7 @@ ob_start();
|
||||
</form>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
itflowReady(function () {
|
||||
|
||||
var button = document.getElementById('generateAIContent');
|
||||
var promptField = document.getElementById('aiPrompt');
|
||||
|
||||
Reference in New Issue
Block a user