Commit 52a83cd1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

call resizeIFrameOnLoad() in iframe tag, now it will be called by pagination in the iframe.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28404 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 33594170
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
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() python:\'<iframe class="auto_height" style="border:none;width:100%%;height:600px" src="%s/asEntireHTML" onload="resizeIFrameOnLoad()"></iframe>\' % here.absolute_url()
]]></string> </value> ]]></string> </value>
</item> </item>
......
839 840
\ 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