slash-commands.js: update for new popup

13b3f61e821d21bc7ba1d0b3a8f4fce88b971372

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -4Ignore whitespace
public/scripts/slash-commands.js+3 -4
@@ -7,7 +7,6 @@ import {
77 activateSendButtons,
88 addOneMessage,
99 api_server,
10- callPopup,
1110 characters,
1211 chat,
1312 chat_metadata,
@@ -4779,7 +4778,7 @@ export async function executeSlashCommandsOnChatInput(text, options = {}) {
47794778 toastr.error(
47804779 `${toast}${clickHint}`,
47814780 'SlashCommandExecutionError',
47824781 { escapeHtml: false, timeOut: 10000, onclick: () => callPopupcallGenericPopup(toast, POPUP_TYPE.TEXT, 'text', { allowHorizontalScrolling: true, allowVerticalScrolling: true }) },
47834782 );
47844783 } else {
47854784 toastr.error(result.errorMessage);
@@ -4836,7 +4835,7 @@ async function executeSlashCommandsWithOptions(text, options = {}) {
48364835 toastr.error(
48374836 `${toast}${clickHint}`,
48384837 'SlashCommandParserError',
48394838 { escapeHtml: false, timeOut: 10000, onclick: () => callPopupcallGenericPopup(toast, POPUP_TYPE.TEXT, 'text', { allowHorizontalScrolling: true, allowVerticalScrolling: true }) },
48404839 );
48414840 const result = new SlashCommandClosureResult();
48424841 return result;
@@ -4866,7 +4865,7 @@ async function executeSlashCommandsWithOptions(text, options = {}) {
48664865 toastr.error(
48674866 `${toast}${clickHint}`,
48684867 'SlashCommandExecutionError',
48694868 { escapeHtml: false, timeOut: 10000, onclick: () => callPopupcallGenericPopup(toast, POPUP_TYPE.TEXT, 'text', { allowHorizontalScrolling: true, allowVerticalScrolling: true }) },
48704869 );
48714870 } else {
48724871 toastr.error(e.message);