Changeset 1214
- Timestamp:
- 2007-12-17 04:55:50 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/branches/features/floating_dialog/editor/fckdialog.html
r1213 r1214 87 87 RefreshContainerSize() ; 88 88 LoadInnerDialog() ; 89 ShowThrobberTimer = setTimeout( ShowThrobber, 5000 ) ;89 ShowThrobberTimer = setTimeout( ShowThrobber, 1000 ) ; 90 90 91 91 var titleElement = document.getElementById( 'TitleArea' ) ; … … 110 110 // First of all, translate the dialog box contents. 111 111 editor.FCKLanguageManager.TranslatePage( document ) ; 112 document.getElementById( 'FrameCell' ).innerHTML = '<iframe id="frmMain" src="' + args.Page + '" name="frmMain" frameborder="0" width="100%" scrolling="auto" ></iframe>' ;112 document.getElementById( 'FrameCell' ).innerHTML = '<iframe id="frmMain" src="' + args.Page + '" name="frmMain" frameborder="0" width="100%" scrolling="auto" style="background-color: white;"></iframe>' ; 113 113 } 114 114 … … 140 140 function InnerDialogLoaded() 141 141 { 142 // If the dialog has been closed before the iframe is loaded, do nothing. 143 if ( !window.frameElement.parentNode ) 144 return ; 145 142 146 HideThrobber() ; 143 147 … … 243 247 function CloseDialog( dontFireChange ) 244 248 { 249 // Points the src to a non-existent location to avoid loading errors later, in case the dialog 250 // haven't been completed loaded at this point. 251 document.getElementById( 'frmMain' ).src = 'javascript: void(0);' ; 252 245 253 if ( !dontFireChange && !editor.FCK.EditMode ) 246 254 {