How do I change the default text "Edit entry" in Editor's form header?

How do I change the default text "Edit entry" in Editor's form header?

pansengtatpansengtat Posts: 66Questions: 26Answers: 1
edited July 2014 in Editor

The default text for div class "DTE_Header_Content" is "edit entry".
If I create an instance of an editor: edit, how do I modify the header content to be some other text, eg. "Update entry"?

My way of initialising Editor:

$('#overview').dataTable( { // INCLUDE IDENTIFIER FOR THE FORM HERE.
            dom: "Tfrtip",
            ajax: "php/OverviewEditor.php", // PHP CODE FOR THE EDITOR
            columns: [  //  COLUMN DATA TO BE DISPLAYED
                { data: "TestRequestMain.TestRequestNo" },
                { data: "TestRequestMain.ProjectID" },
                { data: "AssignedGroup.Name" },
            ],
            tableTools: {
                sRowSelect: "os",
                sSwfPath: "extensions/tabletools/swf/copy_csv_xls_pdf.swf",
                aButtons: [
                    {   sExtends:       "editor_edit",   
                        editor:         editor,
                        sButtonText:    "Assign Request"
                    },
                    {   sExtends:       "xls",
                        sButtonText:    "Export as Excel",
                        sAction:        "flash_save"
                    },
                    {   sExtends:       "csv",
                        sButtonText:    "Export as CSV",
                        sAction:        "flash_save"
                    },
                    {   sExtends:       "pdf",
                        sButtonText:    "Export as PDF",
                        sPdfOrientation:"landscape"
                    },
                    "print"
                ]
            },
            initComplete: function(settings, json) {    
            editor.field('TestRequestMain.AssignedGroupID').update(json.AssignedGroup);
                editor.field('TestRequestMain.Status').update(json.StatusMirror);
            }
        } );

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.