void function ( ) { boolean loc0 = Window . confirm ( Messages . get ( ) . key ( Messages . GUI_EDITOR_SAVE_BEFORE_LEAVING_1 , m_editableData . getSitePath ( ) ) ) ; if ( loc0 ) { saveEditorContent ( ) ; } }
execute on window close . will ask the user if the edited content should be saved . concode_field_sep CmsPopup m_dialog concode_elem_sep I_CmsContentEditorHandler m_editorHandler concode_elem_sep String CLOSING_METHOD_NAME concode_elem_sep boolean m_isNew concode_elem_sep String EDITOR_IFRAME_NAME concode_elem_sep CmsContentEditorDialog INSTANCE concode_elem_sep HandlerRegistration m_closingHandlerRegistration concode_elem_sep I_CmsEditableData m_editableData concode_elem_sep FormElement m_form concode_field_sep void openEditDialog concode_elem_sep void exportClosingMethod concode_elem_sep I_CmsEditableData getEditableData concode_elem_sep CmsContentEditorDialog get concode_elem_sep void openDialog concode_elem_sep void closeEditDialog concode_elem_sep void saveEditorContent concode_elem_sep void close concode_elem_sep FormElement generateForm