PDA

View Full Version : Keep collapse() button affecting iframe in panel?



brian
5 Apr 2007, 2:26 PM
How can I prevent the collapse() button from affecting an iframe with designmode inside a panel? Is this a bug? Thanks in advance for any input.

I have a iframe in a nested south panel:

<div id="form-content">
<iframe id="form-iframe" class="x-form-field" frameborder="no" style="width: 988px; height: 83px;" name="form-iframe">
<html>
<head>
<title/>
</head>
<body>
<br _moz_editor_bogus_node="TRUE" _moz_dirty=""/>
</body>
</html>
</iframe>
</div>

When I collapse it it changes the code to:

<div id="form-content">
<iframe id="form-iframe" class="x-form-field" frameborder="no" style="width: 988px; height: 83px;" name="form-iframe">
<html>
<head>
<title/>
</head>
<body/>
</html>
</iframe>
</div>