[geeklog-cvs] geeklog: Second attempt to fix bug #0000980 (Changing the Post M...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Fri Oct 30 12:29:08 EDT 2009


changeset 7407:62c4bd0f9743
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/62c4bd0f9743
user: Dirk Haun <dirk at haun-online.de>
date: Fri Oct 30 17:28:55 2009 +0100
description:
Second attempt to fix bug #0000980 (Changing the Post Mode in Advanced Editor mode selected the wrong tab), revised IE compatible patch provided by dengen.

diffstat:

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

diffs (36 lines):

diff -r e6d155a18b20 -r 62c4bd0f9743 public_html/docs/history
--- a/public_html/docs/history	Fri Oct 30 13:57:11 2009 +0100
+++ b/public_html/docs/history	Fri Oct 30 17:28:55 2009 +0100
@@ -14,6 +14,9 @@
 - When a Story Admin did not have permission to edit a story, Geeklog threw a
   "call to a member function on a non-object" error when trying to display a
   proper "access denied" message (reported by Chase and Cesar) [Dirk]
+- Allow external apps to contribute to search results (feature request #0000985)
+  [Sami]
+- Remember current sort/limit in search results (bug #0001007) [Sami]
 - Don't display the comment form for a story when comments aren't enabled for it
   (bug #0000994) [Dirk]
 - Fixed a long-standing quirk of the submission handling where the "Submissions"
@@ -29,7 +32,7 @@
 - Setting $_CONF['article_comment_close_days'] to a high value (to work around
   bugs with the "Disable Comments" option in 1.6.0) may result in values outside
   of the range of the year dropdown for that option, in which case it reverted
-  to the current year a may have caused comments to be closed immediately [Dirk]
+  to the previous(!) year and caused comments to be closed immediately [Dirk]
 - When viewing your own profile page, you now get an "edit" link that take you
   to "My Account" [Dirk]
 - Additional checks in "Mail Story to a Friend", "Send mail to user", and
diff -r e6d155a18b20 -r 62c4bd0f9743 public_html/javascript/storyeditor_fckeditor.js
--- a/public_html/javascript/storyeditor_fckeditor.js	Fri Oct 30 13:57:11 2009 +0100
+++ b/public_html/javascript/storyeditor_fckeditor.js	Fri Oct 30 17:28:55 2009 +0100
@@ -43,8 +43,8 @@
     }
 
     function change_editmode(obj) {
-        showhideEditorDiv("editor",
-                document.getElementById('navlist').childElementCount - 6);
+        var navlistcount = document.getElementById('navlist').getElementsByTagName('li').length;
+        showhideEditorDiv("editor", navlistcount - 6);
         if (obj.value == 'html') {
             document.getElementById('html_editor').style.display='none';
             document.getElementById('text_editor').style.display='';



More information about the geeklog-cvs mailing list