Changeset 1776
- Timestamp:
- 2008-03-22 18:49:51 (4 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/internals/fckdialog.js (modified) (4 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckdialog.js
r1726 r1776 74 74 topDocument.scrollHeight || 0 ) - 1 + 'px' 75 75 } ) ; 76 } 77 78 var resetStyles = function( element ) 79 { 80 element.style.cssText = 'margin:0;' + 81 'padding:0;' + 82 'border:0;' + 83 'background-color:transparent;' + 84 'background-image:none;' ; 76 85 } 77 86 … … 139 148 // Setup the IFRAME that will hold the dialog. 140 149 var dialog = topDocument.createElement( 'iframe' ) ; 150 resetStyles( dialog ) ; 141 151 dialog.src = FCKConfig.BasePath + 'fckdialog.html' ; 142 152 … … 202 212 // Setup the DIV that will be used to cover. 203 213 cover = topDocument.createElement( 'div' ) ; 214 resetStyles( cover ) ; 204 215 FCKDomTools.SetElementStyles( cover, 205 216 { … … 217 228 { 218 229 var iframe = topDocument.createElement( 'iframe' ) ; 230 resetStyles( iframe ) ; 219 231 iframe.hideFocus = true ; 220 232 iframe.frameBorder = 0 ; -
FCKeditor/trunk/_whatsnew.html
r1775 r1776 116 116 the browser was able to enter in an infinite loop when working with multiple editors 117 117 in the same page. </li> 118 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some 119 CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li> 118 120 </ul> 119 121 <h3>