[geeklog-cvs] geeklog: Changing the Post Mode in Advanced Editor mode selected...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Sep 19 08:17:34 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/269358e160f8
changeset: 7324:269358e160f8
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat Sep 19 14:17:00 2009 +0200
description:
Changing the Post Mode in Advanced Editor mode selected the wrong tab (bug #0000980, patch provided by dengen)

diffstat:

 public_html/docs/history                        |  2 ++
 public_html/javascript/storyeditor_fckeditor.js |  5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r fe52314f43eb -r 269358e160f8 public_html/docs/history
--- a/public_html/docs/history	Sat Sep 19 13:03:44 2009 +0200
+++ b/public_html/docs/history	Sat Sep 19 14:17:00 2009 +0200
@@ -3,6 +3,8 @@
 Oct ??, 2009 (1.6.1)
 ------------
 
+- Changing the Post Mode in Advanced Editor mode selected the wrong tab
+  (bug #0000980, patch provided by dengen)
 - Made the former $cc parameter for COM_mail an optional array of additional
   email headers (using a string for that parameter still works as CC:) [Dirk]
 - Fixed reply notification for the very first comment (bug #0000973)
diff -r fe52314f43eb -r 269358e160f8 public_html/javascript/storyeditor_fckeditor.js
--- a/public_html/javascript/storyeditor_fckeditor.js	Sat Sep 19 13:03:44 2009 +0200
+++ b/public_html/javascript/storyeditor_fckeditor.js	Sat Sep 19 14:17:00 2009 +0200
@@ -24,7 +24,8 @@
     }
 
     function change_editmode(obj) {
-        showhideEditorDiv("editor",1);
+        showhideEditorDiv("editor",
+                document.getElementById('navlist').childElementCount - 6);
         if (obj.value == 'html') {
             document.getElementById('html_editor').style.display='none';
             document.getElementById('text_editor').style.display='';
@@ -113,4 +114,4 @@
         oEditor1.ToolbarSet.Load( toolbar ) ;
         var oEditor2 = FCKeditorAPI.GetInstance('bodyhtml');
         oEditor2.ToolbarSet.Load( toolbar ) ;
-   }
\ No newline at end of file
+   }



More information about the geeklog-cvs mailing list