Ticket #1841: 1841.patch
File 1841.patch, 1.4 KB (added by , 17 years ago) |
---|
-
editor/dialog/fck_paste.html
30 30 <meta name="robots" content="noindex, nofollow" /> 31 31 <script src="common/fck_dialog_common.js" type="text/javascript"></script> 32 32 <script type="text/javascript"> 33 var oEditor = window.parent.InnerDialogLoaded() ; 33 var dialog = window.parent ; 34 var oEditor = dialog.InnerDialogLoaded() ; 34 35 var FCK = oEditor.FCK; 35 36 var FCKTools = oEditor.FCKTools ; 36 37 var FCKConfig = oEditor.FCKConfig ; … … 41 42 // First of all, translate the dialog box texts 42 43 oEditor.FCKLanguageManager.TranslatePage(document) ; 43 44 44 var sPastingType = window.parent.Args().CustomValue ;45 var sPastingType = dialog.Args().CustomValue ; 45 46 46 47 if ( sPastingType == 'Word' || sPastingType == 'Security' ) 47 48 { … … 91 92 if ( sPastingType != 'Word' ) 92 93 document.getElementById('oWordCommands').style.display = 'none' ; 93 94 94 window.parent.SetOkButton( true ) ;95 window.parent.SetAutoSize( true ) ;95 dialog.SetOkButton( true ) ; 96 dialog.SetAutoSize( true ) ; 96 97 } 97 98 98 99 function Ok() … … 102 103 103 104 var sHtml ; 104 105 105 var sPastingType = window.parent.Args().CustomValue ;106 var sPastingType = dialog.Args().CustomValue ; 106 107 107 108 if ( sPastingType == 'Word' || sPastingType == 'Security' ) 108 109 {