JavaScript
{dialog.object}editorCancel Method
Syntax
{dialog.object}.editorCancel(UXEditorSet);
Arguments
- UXEditorSetstring
The name of the EditorSet you want to close or a specific editor using the syntax 'editor:UXEditorName'
Description
Closes an EditorSet without committing any unsaved edits.
Example
//Assume that an Editor in an EditorSet (called 'EDITORSET_1') has a Cancel button. //You would put this code in the Cancel button {dialog.object}.editorCancel('EDITORSET_1');
See Also