Ignore:
Timestamp:
03/05/2010 10:50:31 AM (2 years ago)
Author:
Xiping.Wang
Message:

[trunk] merged from omcollab_zhongzhen2

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/wiki

  • trunk/wiki/extensions/FCKeditor/FCKeditor.body.php

    r610 r1405  
    475475                // Create the editor instance and replace the textarea. 
    476476                oFCKeditor.Height = height ; 
     477                // Added by zhongzhen - For help extention 
     478                oFCKeditor.Width = document.getElementById('wpTextbox1').style.width; 
    477479                oFCKeditor.ReplaceTextarea() ; 
    478480 
     
    730732                showFCKEditor -= RTE_VISIBLE; 
    731733                oEditorIframe.style.display = 'none'; 
    732                 FCKtoolbar.style.display = ''; 
    733                 SRCtextarea.style.display = ''; 
     734                FCKtoolbar.style.display = 'block'; // fixed by zhongzhen. It must not be ''. It must be 'block' 
     735                SRCtextarea.style.display = 'block'; // fixed by zhongzhen. It must not be ''. It must be 'block' 
    734736        } 
    735737        //FCKeditor hidden -> visible 
     
    741743                oEditorIns.EditingArea.Textarea.value = SRCtextarea.value 
    742744                FCKtoolbar.style.display = 'none'; 
    743                 oEditorIframe.style.display = ''; 
     745                oEditorIframe.style.display = 'block'; // fixed by zhongzhen. It must not be ''. It must be 'block' 
     746                 
    744747                if ( !bIsWysiwyg ) oEditorIns.SwitchEditMode();         //switch to WYSIWYG 
    745748                showFCKEditor += RTE_VISIBLE; // showFCKEditor+=RTE_VISIBLE 
Note: See TracChangeset for help on using the changeset viewer.