diff --git a/public/scripts/extensions/regex/index.js b/public/scripts/extensions/regex/index.js index 8ea2bd249..3dc87c3ca 100644 --- a/public/scripts/extensions/regex/index.js +++ b/public/scripts/extensions/regex/index.js @@ -276,7 +276,7 @@ async function onRegexEditorOpenClick(existingId, isScoped) { editorHtml.find('input, textarea, select').on('input', updateTestResult); updateInfoBlock(editorHtml); - const popupResult = await callPopup(editorHtml, 'confirm', undefined, { okButton: t`Save` }); + const popupResult = await callGenericPopup(editorHtml, POPUP_TYPE.CONFIRM, '', { okButton: t`Save`, cancelButton: t`Cancel`, allowVerticalScrolling: true }); if (popupResult) { const newRegexScript = { id: existingId ? String(existingId) : uuidv4(),