| 1 | Index: editor/_source/internals/fcktoolbarset.js |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- editor/_source/internals/fcktoolbarset.js (revision 995) |
|---|
| 4 | +++ editor/_source/internals/fcktoolbarset.js (working copy) |
|---|
| 5 | @@ -90,7 +90,7 @@ |
|---|
| 6 | |
|---|
| 7 | // Initialize the IFRAME document body. |
|---|
| 8 | eTargetDocument.open() ; |
|---|
| 9 | - eTargetDocument.write( '<html><head>' + sBase + '<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = adjust; window.onload = function () {adjust(); window.setTimeout( adjust, 1000 ); }</script></head><body style="overflow: hidden">' + document.getElementById( 'xToolbarSpace' ).innerHTML + '</body></html>' ) ; |
|---|
| 10 | + eTargetDocument.write( '<html><head>' + sBase + '<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = adjust; window.setTimeout( adjust, 0 ); </script></head><body style="overflow: hidden">' + document.getElementById( 'xToolbarSpace' ).innerHTML + '</body></html>' ) ; |
|---|
| 11 | eTargetDocument.close() ; |
|---|
| 12 | |
|---|
| 13 | FCKTools.AddEventListener( eTargetDocument, 'contextmenu', FCKTools.CancelEvent ) ; |
|---|