mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 19:29:56 +09:00
에디터의 초기화를 window.onload가 아닌 object가 display되고 난 후로 시점 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3730 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c94983b96
commit
6b6013fddb
6 changed files with 34 additions and 37 deletions
|
|
@ -5,16 +5,6 @@
|
|||
<!--%import("../../tpl/js/editor_common.js")-->
|
||||
<!--%import("../../tpl/js/editor.js")-->
|
||||
|
||||
<!-- 에디터 활성화 -->
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var editor_path = "{$editor_path}";
|
||||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
|
||||
<!--@if(!$editor_manual_start)-->
|
||||
xAddEventListener(window, 'load', function() { editorStart("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", '{$editor_height}' ) } );
|
||||
<!--@end-->
|
||||
//]]></script>
|
||||
|
||||
<!-- 자동저장용 폼 -->
|
||||
<!--@if($enable_autosave)-->
|
||||
<input type="hidden" name="_saved_doc_title" value="{htmlspecialchars($saved_doc->title)}" />
|
||||
|
|
@ -186,3 +176,13 @@
|
|||
</div>
|
||||
|
||||
|
||||
<!-- 에디터 활성화 -->
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var editor_path = "{$editor_path}";
|
||||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
|
||||
<!--@if(!$editor_manual_start)-->
|
||||
editorStart("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", '{$editor_height}' );
|
||||
<!--@end-->
|
||||
//]]></script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue