diff --git a/main/document/create_document.php b/main/document/create_document.php index 5a815c3429..d5562c7040 100644 --- a/main/document/create_document.php +++ b/main/document/create_document.php @@ -1,5 +1,5 @@ function InnerDialogLoaded() -{ - var B=new window.frames[0].FCKToolbarButton(\'Templates\',window.frames[0].FCKLang.Templates); +{ + var B=new window.frames[0].FCKToolbarButton(\'Templates\',window.frames[0].FCKLang.Templates); return B.ClickFrame(); }; var temp=false; var temp2=false; var use_document_title='.api_get_setting('use_document_title').'; + var load_default_template = true; function launch_templates() { @@ -68,7 +69,7 @@ function InnerDialogLoaded() function FCKeditor_OnComplete( editorInstance ) { editorInstance.Events.AttachEvent( \'OnSelectionChange\', check_for_title ) ; - document.getElementById(\'frmModel\').innerHTML = "