[geeklog-hg] geeklog: Fixed incorrect element id

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Aug 3 12:26:24 EDT 2013


changeset 9245:319904f32da0
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/319904f32da0
user: dengen <taharaxp at gmail.com>
date: Sun Aug 04 01:25:57 2013 +0900
description:
Fixed incorrect element id

diffstat:

 public_html/javascript/submitstory_adveditor.js            |  4 ++--
 public_html/layout/denim/submit/submitstory_advanced.thtml |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r ab882ff21bff -r 319904f32da0 public_html/javascript/submitstory_adveditor.js
--- a/public_html/javascript/submitstory_adveditor.js	Sun Aug 04 01:04:54 2013 +0900
+++ b/public_html/javascript/submitstory_adveditor.js	Sun Aug 04 01:25:57 2013 +0900
@@ -28,8 +28,8 @@
 // +---------------------------------------------------------------------------+
 
 window.onload = function() {
-    document.getElementById('introhtml').style.display = '';
-    adve_newEditor('comment_html', {'toolbar':0});
+    document.getElementById('advanced_editor').style.display = '';
+    adve_newEditor('introhtml', {'toolbar':0});
 }
 
 function change_editmode(obj) {
diff -r ab882ff21bff -r 319904f32da0 public_html/layout/denim/submit/submitstory_advanced.thtml
--- a/public_html/layout/denim/submit/submitstory_advanced.thtml	Sun Aug 04 01:04:54 2013 +0900
+++ b/public_html/layout/denim/submit/submitstory_advanced.thtml	Sun Aug 04 01:25:57 2013 +0900
@@ -18,10 +18,10 @@
     
           <dt><label for="introtext">{lang_story}</label></dt>
           <dd>
-            <div class="text_editor" style="display: {show_texteditor};">
+            <div id="text_editor" style="display: {show_texteditor};">
               <textarea cols="45" rows="15" name="introtext" id="introtext" class="wide">{story_introtext}</textarea>
             </div>
-            <div class="html_editor" style="display: {show_htmleditor};">
+            <div id="html_editor" style="display: {show_htmleditor};">
               <textarea cols="45" rows="15" name="introhtml" id="introhtml" class="wide">{story_introtext}</textarea>
             </div>
           </dd>



More information about the geeklog-cvs mailing list