diff --git a/module/ai/view/inputinject.html.php b/module/ai/view/inputinject.html.php index a7f1685839..03768b94bb 100644 --- a/module/ai/view/inputinject.html.php +++ b/module/ai/view/inputinject.html.php @@ -192,9 +192,6 @@ { e.preventDefault(); - const container = publishButton.ownerDocument.defaultView.parent.document.querySelector('.load-indicator'); - if(container) container.classList.toggle('loading', true); - const promptId = publishButton.dataset.promptid; const aTag = document.createElement('a'); aTag.href = createLink('ai', 'promptPublish', 'promptId=' + promptId + '&backToTestingLocation=true') + '#app=admin'; @@ -211,9 +208,6 @@ { e.preventDefault(); - const container = auditExitButton.ownerDocument.defaultView.parent.document.querySelector('.load-indicator'); - if(container) container.classList.toggle('loading', true); - const aTag = document.createElement('a'); aTag.href = createLink('ai', 'promptAudit', 'promptId=' + promptId + '&objectId=0' + '&exit=true') + '#app=admin'; aTag.style.display = 'none'; diff --git a/module/ai/view/promptaudit.html.php b/module/ai/view/promptaudit.html.php index 70d8a82000..a85f5423ff 100644 --- a/module/ai/view/promptaudit.html.php +++ b/module/ai/view/promptaudit.html.php @@ -128,9 +128,6 @@ function reloadPrompt(promptId, objectId) { - const container = parent.parent.document.querySelector('.load-indicator'); - if(container) container.classList.toggle('loading', true); - parent.$.zui.closeModal(); let link = createLink('ai', 'promptexecute', 'promptId=' + promptId + '&objectId=' + objectId);