| 276 | editorHtml.find('input, textarea, select').on('input', updateTestResult); | 276 | editorHtml.find('input, textarea, select').on('input', updateTestResult); |
| 277 | updateInfoBlock(editorHtml); | 277 | updateInfoBlock(editorHtml); |
| 278 | | 278 | |
| 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(), |