Ignore:
Timestamp:
03/05/2010 10:16:50 AM (2 years ago)
Author:
zhongzhen
Message:

FCKeditor fix for Help extention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/omcollab_zhongzhen2/wiki/extensions/FCKeditor/FCKeditor.body.php

    r610 r1404  
    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.