# You must use a tab-size of 4 spaces to edit this file.
---
zenario_menu_text:
    priv: _PRIV_EDIT_MENU_TEXT
    title: false
    hide_tab_bar: true
    max_height: 300
    key:
        id: ""
        languageId: ""
    identifier: 
        css_class: menu_node
        label: Menu node ID
        value: ""
    tabs:
        text:
            label: ''
            edit_mode:
                enabled: true
            fields:
                left_column:
                    type: grouping
                    name: left_column
                
                text_in_default_language:
                    grouping: left_column
                    label: ''
                    type: text
                    readonly: true
                
                right_column:
                    type: grouping
                    name: right_column
                
                menu_title:
                    grouping: right_column
                    label: 'Menu text:'
                    type: text
                    maxlength: 250
                    validation:
                        required: Please enter the text for this menu node
                    oninput: |
                        $(zenarioAB.get('span__menu_path_preview')).text(this.value);
                
                menu_path_preview:
                    label: 'Menu path preview:'
                    type: text
                    show_as_a_span: true
                    css_class: zenario_textbox_noborder zfab_menuPathPreviewNode zfab_menuPathPreviewUpdatingNode
    
    extra_button_html: |
        <input
            type="button"
            class="zenario_fabExtraButton zenario_fabExtraButtonMenuProp launch_keeper"
            value="All menu node properties..."
            onclick="
                var key = $.extend(true, {}, zenarioAB.tuix.key);
                key.suggestedName = zenarioAB.readField('menu_title');
                zenarioAB.close();
                zenarioA.openMenuAdminBox(key, 'zenario_menu');
        "/>
        <input
            type="button"
            class="zenario_fabExtraButton zenario_fabExtraButtonOrganizeMenu launch_keeper"
            value="Organize menu..."
            onclick="
                var key = $.extend(true, {}, zenarioAB.tuix.key);
                key.suggestedName = zenarioAB.readField('menu_title');
                zenarioAB.close();
                zenarioA.openMenuAdminBox(key, 'organizer');
        "/>
            
