Commit 0834758e authored by Fabien Morin's avatar Fabien Morin

use "object" tag instead of "iframe" which is forbidden in XHTML 1.0 strict....

use "object" tag instead of "iframe" which is forbidden in XHTML 1.0 strict. Remove onload=resizeIFrameOnLoad event which is not allowed in object element (in iframe too) because since r34301, resizeIFrameOnLoad will be called at body load time. This should make the whole page XHTML 1.0 valid.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34302 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 68226684
......@@ -126,7 +126,7 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python:\'<iframe class="auto_height" style="border:none;width:100%%;height:600px" src="%s/asEntireHTML" onload="resizeIFrameOnLoad()"></iframe>\' % here.absolute_url()
python:\'<object class="auto_height" type="text/html" data="%s/asEntireHTML" style="border:none;width:100%%;height:600px"></object>\' % here.absolute_url()
]]></string> </value>
</item>
......
920
\ No newline at end of file
921
\ 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