prevent popup close while debugging

breaks shit, but that's a popup problem
This commit is contained in:
LenAnderson
2024-07-13 14:15:41 -04:00
parent 67bcb6be3b
commit 4a4218f49a

View File

@ -957,6 +957,7 @@ export class QuickReply {
} }
async executeFromEditor() { async executeFromEditor() {
if (this.isExecuting) return; if (this.isExecuting) return;
this.editorPopup.onClosing = ()=>false;
const uuidCheck = /^[0-9a-z]{8}(-[0-9a-z]{4}){3}-[0-9a-z]{12}$/; const uuidCheck = /^[0-9a-z]{8}(-[0-9a-z]{4}){3}-[0-9a-z]{12}$/;
const oText = this.message; const oText = this.message;
this.isExecuting = true; this.isExecuting = true;
@ -1463,6 +1464,7 @@ export class QuickReply {
this.editorPopup.dlg.classList.remove('qr--hide'); this.editorPopup.dlg.classList.remove('qr--hide');
this.editorDom.classList.remove('qr--isExecuting'); this.editorDom.classList.remove('qr--isExecuting');
this.isExecuting = false; this.isExecuting = false;
this.editorPopup.onClosing = null;
} }
updateEditorProgress(done, total) { updateEditorProgress(done, total) {