Type Alias: EditorResult
ts
type EditorResult = object;What happens after the user confirms the print job (ArgEditor.result).
See Result actions.
Properties
| Property | Type | Description |
|---|---|---|
closeDialog? | EditorResultDialog[] | Localized texts of the confirmation dialog shown by the 'Dialog' result action. Remarks The editor uses the entry whose language matches its UI language, then the English entry, then the first one. Optional: when it's omitted or empty, the editor shows its built-in, translated "print job saved" texts. |
redirectUrl? | string | URL to open after the editor closes with the reason 'Confirmed'; the script sets window.location.href right after calling your onClose callback. Remarks Absolute or relative to the page. Only http and https URLs are followed; others (e.g. javascript:) are ignored and logged as an error. Used by the 'Close' and 'Dialog' result actions and by the SaveAndClose and DownloadProofreadingAndClose buttons (EditorButtonFunction). |
resultAction | EditorResultAction | The action after the confirmed print job is saved. |