[svn r15322] IE6 bug in list of templates. FS#2570

skala
Julio Montoya 18 years ago
parent eb366c26fb
commit 0a6e3a8a19
  1. 6
      main/document/create_document.php

@ -1,5 +1,5 @@
<?php
// $Id: create_document.php 15298 2008-05-15 14:58:01Z juliomontoya $
// $Id: create_document.php 15322 2008-05-19 16:31:13Z juliomontoya $
/*
==============================================================================
Dokeos - elearning and course management software
@ -68,7 +68,7 @@ function InnerDialogLoaded()
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.Events.AttachEvent( \'OnSelectionChange\', check_for_title ) ;
document.getElementById(\'frmModel\').innerHTML = "<iframe height=950px; width=100%; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
document.getElementById(\'frmModel\').innerHTML = "<iframe height=950px; width=97%; frameborder=0 src=\''.api_get_path(WEB_LIBRARY_PATH).'fckeditor/editor/fckdialogframe.html \'>";
}
function check_for_title()
@ -327,7 +327,7 @@ else
$form->addElement('submit', 'submit', get_lang('Ok'));
// HTML-editor
$form->add_html_editor('content','<a style="cursor:pointer" onclick="launch_templates()"></a>', false, true);
$form->add_html_editor('content','', false, false);
// Comment-field
//$form->addElement('textarea', 'comment', get_lang('Comment'), array ('rows' => 5, 'cols' => 50));

Loading…
Cancel
Save