diff --git a/main/inc/lib/fckeditor/editor/dialog/fck_template.html b/main/inc/lib/fckeditor/editor/dialog/fck_template.html index 0312bde86f..8064127ec4 100644 --- a/main/inc/lib/fckeditor/editor/dialog/fck_template.html +++ b/main/inc/lib/fckeditor/editor/dialog/fck_template.html @@ -70,7 +70,10 @@ window.onload = function() // Translate the dialog box texts. oEditor.FCKLanguageManager.TranslatePage(document) ; //window.parent.SetAutoSize( true ) ; - LoadTemplatesXml() ; + LoadTemplatesXml() ; + + // select first by default (Dokeos customization) + SelectTemplate( 0 ) ; } function LoadTemplatesXml() diff --git a/main/inc/lib/fckeditor/fcktemplates.xml.php b/main/inc/lib/fckeditor/fcktemplates.xml.php index d671b93791..b48b633949 100644 --- a/main/inc/lib/fckeditor/fcktemplates.xml.php +++ b/main/inc/lib/fckeditor/fcktemplates.xml.php @@ -76,6 +76,17 @@ $default_course_dir = api_get_path(REL_CODE_PATH).'default_course_document/'; echo ''; } ?> + +