Changeset 1404
- Timestamp:
- 03/05/2010 10:16:50 AM (2 years ago)
- Location:
- branches/omcollab_zhongzhen2/wiki/extensions
- Files:
-
- 2 edited
-
FCKeditor/FCKeditor.body.php (modified) (3 diffs)
-
Help/Help_Guide.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/omcollab_zhongzhen2/wiki/extensions/FCKeditor/FCKeditor.body.php
r610 r1404 475 475 // Create the editor instance and replace the textarea. 476 476 oFCKeditor.Height = height ; 477 // Added by zhongzhen - For help extention 478 oFCKeditor.Width = document.getElementById('wpTextbox1').style.width; 477 479 oFCKeditor.ReplaceTextarea() ; 478 480 … … 730 732 showFCKEditor -= RTE_VISIBLE; 731 733 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' 734 736 } 735 737 //FCKeditor hidden -> visible … … 741 743 oEditorIns.EditingArea.Textarea.value = SRCtextarea.value 742 744 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 744 747 if ( !bIsWysiwyg ) oEditorIns.SwitchEditMode(); //switch to WYSIWYG 745 748 showFCKEditor += RTE_VISIBLE; // showFCKEditor+=RTE_VISIBLE -
branches/omcollab_zhongzhen2/wiki/extensions/Help/Help_Guide.php
r1402 r1404 36 36 $('#shadow').css('display', 'block'); 37 37 $('#wpTextbox1').css('width', textwidth.toString() + 'px'); 38 $('#wpTextbox1___Frame').css('width', textwidth.toString() + 'px'); 38 39 } 39 40 … … 43 44 $('#shadow').css('display', 'none'); 44 45 $('#wpTextbox1').css('width', textwidth.toString() + 'px'); 46 $('#wpTextbox1___Frame').css('width', textwidth.toString() + 'px'); 45 47 } 46 48 … … 51 53 textwidth = $('#editform').width() - $('.button_class').width() - 30; 52 54 $('#wpTextbox1').css('width', textwidth.toString() + 'px'); 55 $('#wpTextbox1___Frame').css('width', textwidth.toString() + 'px'); 53 56 }); 54 57 … … 57 60 $('#wpTextbox1').css('display', 'block'); 58 61 $('#wpTextbox1').css('width', textwidth.toString() + 'px'); 62 $('#wpTextbox1___Frame').css('width', textwidth.toString() + 'px'); 59 63 }); 60 64 … … 98 102 // Help button 99 103 $editPage->editFormTextBeforeContent .= '<div class="button_class"><img src="extensions/Help/images/button_help.gif" style="cursor: pointer;" onclick="showHelp()"/></div>'; 100 101 104 return true; 102 105 }
Note: See TracChangeset
for help on using the changeset viewer.
