mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
17491457 : fix by calling setEditMode function of xquared in onload event of window
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5000 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3dacfd0393
commit
31e374a44d
2 changed files with 12 additions and 2 deletions
|
|
@ -95,8 +95,13 @@
|
|||
<script type="text/javascript">//<![CDATA[
|
||||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
var xed_{$editor_sequence};
|
||||
var load_{$editor_sequence} = function() {
|
||||
setEditMode(xed_{$editor_sequence}, "{$editor_height}px", {$editor_sequence});
|
||||
};
|
||||
|
||||
if(document.getElementById("comment_{$editor_sequence}") == null || document.getElementById("comment_{$editor_sequence}").style.display != 'none') {
|
||||
editorStart_xq(xed_{$editor_sequence}, document.getElementById("xqEditor_{$editor_sequence}"), {$editor_sequence}, "{$editor_content_key_name}", "{$editor_height}px", "{$editor_primary_key_name}");
|
||||
xed_{$editor_sequence} = editorStart_xq(xed_{$editor_sequence}, document.getElementById("xqEditor_{$editor_sequence}"), {$editor_sequence}, "{$editor_content_key_name}", "{$editor_height}px", "{$editor_primary_key_name}");
|
||||
xAddEventListener(window, 'load', load_{$editor_sequence});
|
||||
}
|
||||
//]]></script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue