Browse Source

[svn r17180] FS#2867 - FCKEditor, assigning styles for the template selector dialog.

Ivan Tcholakov 16 years ago
parent
commit
37d190a6c8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      main/inc/lib/fckeditor/editor/dialog/fck_template.html

+ 7 - 1
main/inc/lib/fckeditor/editor/dialog/fck_template.html

@@ -74,6 +74,12 @@ var FCKConfig	= oEditor.FCKConfig ;
 
 var Size = window.parent.WindowSize;
 
+// Added by Ivan Tcholakov, a temporary fix.
+// The following statement sets the Skin CSS.
+// This is needed only when this dialog is shown in the Documents tool.
+document.write( '<link href="' + FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
+//
+
 window.onload = function()
 {
 	// Set the right box height (browser dependent).
@@ -212,7 +218,7 @@ function SelectTemplate( index )
 
 	</script>
 </head>
-<body scroll="no" style="overflow: hidden">
+<body scroll="no" style="overflow: hidden; background-color: #ffffff;">
 	<table width="100%" style="height: 100%" valign="top">
 		<tr>
 			<td height="100%" align="center" valign="top">