mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Small fixes to /popup, /buttons and QR popup
- FIx /popup and /buttons commands to use the new popups - Change /buttons to utilize data results - Fix "hide while executing" option from QR editor - Fix QR editor throwing an error on execution
This commit is contained in:
@ -557,7 +557,7 @@ export class QuickReply {
|
||||
this.editorExecuteErrors.innerHTML = '';
|
||||
this.editorExecuteResult.innerHTML = '';
|
||||
if (this.editorExecuteHide.checked) {
|
||||
this.editorPopup.dom.classList.add('qr--hide');
|
||||
this.editorPopup.dlg.classList.add('qr--hide');
|
||||
}
|
||||
try {
|
||||
this.editorExecutePromise = this.execute({}, true);
|
||||
@ -585,10 +585,11 @@ export class QuickReply {
|
||||
<div>${ex.message}</div>
|
||||
`;
|
||||
}
|
||||
const t = toastr.success('b');
|
||||
}
|
||||
this.editorExecutePromise = null;
|
||||
this.editorExecuteBtn.classList.remove('qr--busy');
|
||||
this.editorPopup.dom.classList.remove('qr--hide');
|
||||
this.editorPopup.dlg.classList.remove('qr--hide');
|
||||
}
|
||||
|
||||
updateEditorProgress(done, total) {
|
||||
|
Reference in New Issue
Block a user