mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
prevent popup close while debugging
breaks shit, but that's a popup problem
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user