Commit 6442569c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* call addLoadEvent(resizeIFrameOnLoad) to adjust the height of iframe according to its content.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28346 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9ccda2c9
......@@ -13,8 +13,8 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>enabled</string>
<string>default</string>
<string>enabled</string>
</list>
</value>
</item>
......@@ -87,6 +87,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
......@@ -122,7 +126,7 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python:\'<iframe width="100%%" height="600" src="%s/asEntireHTML"></iframe>\' % here.absolute_url()
python:\'<script type="text/javascript">addLoadEvent(resizeIFrameOnLoad)</script><iframe class="auto_height" style="border:none;width:100%%;height:600px" src="%s/asEntireHTML"></iframe>\' % here.absolute_url()
]]></string> </value>
</item>
......
836
\ No newline at end of file
837
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment