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 @@ ...@@ -13,8 +13,8 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>enabled</string>
<string>default</string> <string>default</string>
<string>enabled</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -87,6 +87,10 @@ ...@@ -87,6 +87,10 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
...@@ -122,7 +126,7 @@ ...@@ -122,7 +126,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <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> ]]></string> </value>
</item> </item>
......
836 837
\ No newline at end of file \ 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