regex: update for new popup

b72d7f37d713abe510bdc001f04fe56561b09708

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

1 files changed, +1 -1Showing whitespace changes
public/scripts/extensions/regex/index.js+1 -1
@@ -276,7 +276,7 @@ async function onRegexEditorOpenClick(existingId, isScoped) {
276 editorHtml.find('input, textarea, select').on('input', updateTestResult);276 editorHtml.find('input, textarea, select').on('input', updateTestResult);
277 updateInfoBlock(editorHtml);277 updateInfoBlock(editorHtml);
278278
279 const popupResult = await callPopup(editorHtml, 'confirm', undefined, { okButton: t`Save` });279 const popupResult = await callGenericPopup(editorHtml, POPUP_TYPE.CONFIRM, '', { okButton: t`Save`, cancelButton: t`Cancel`, allowVerticalScrolling: true });
280 if (popupResult) {280 if (popupResult) {
281 const newRegexScript = {281 const newRegexScript = {
282 id: existingId ? String(existingId) : uuidv4(),282 id: existingId ? String(existingId) : uuidv4(),