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. HEAD
authorDirk Haun <dirk@haun-online.de>
Fri Oct 30 17:28:55 2009 +0100 (4 months ago)
branchHEAD
changeset 740762c4bd0f9743
parent 7406e6d155a18b20
child 7408d1e9c15f5c60
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.
public_html/docs/history
public_html/javascript/storyeditor_fckeditor.js
     1.1 --- a/public_html/docs/history	Fri Oct 30 13:57:11 2009 +0100
     1.2 +++ b/public_html/docs/history	Fri Oct 30 17:28:55 2009 +0100
     1.3 @@ -14,6 +14,9 @@
     1.4  - When a Story Admin did not have permission to edit a story, Geeklog threw a
     1.5    "call to a member function on a non-object" error when trying to display a
     1.6    proper "access denied" message (reported by Chase and Cesar) [Dirk]
     1.7 +- Allow external apps to contribute to search results (feature request #0000985)
     1.8 +  [Sami]
     1.9 +- Remember current sort/limit in search results (bug #0001007) [Sami]
    1.10  - Don't display the comment form for a story when comments aren't enabled for it
    1.11    (bug #0000994) [Dirk]
    1.12  - Fixed a long-standing quirk of the submission handling where the "Submissions"
    1.13 @@ -29,7 +32,7 @@
    1.14  - Setting $_CONF['article_comment_close_days'] to a high value (to work around
    1.15    bugs with the "Disable Comments" option in 1.6.0) may result in values outside
    1.16    of the range of the year dropdown for that option, in which case it reverted
    1.17 -  to the current year a may have caused comments to be closed immediately [Dirk]
    1.18 +  to the previous(!) year and caused comments to be closed immediately [Dirk]
    1.19  - When viewing your own profile page, you now get an "edit" link that take you
    1.20    to "My Account" [Dirk]
    1.21  - Additional checks in "Mail Story to a Friend", "Send mail to user", and
     2.1 --- a/public_html/javascript/storyeditor_fckeditor.js	Fri Oct 30 13:57:11 2009 +0100
     2.2 +++ b/public_html/javascript/storyeditor_fckeditor.js	Fri Oct 30 17:28:55 2009 +0100
     2.3 @@ -43,8 +43,8 @@
     2.4      }
     2.5  
     2.6      function change_editmode(obj) {
     2.7 -        showhideEditorDiv("editor",
     2.8 -                document.getElementById('navlist').childElementCount - 6);
     2.9 +        var navlistcount = document.getElementById('navlist').getElementsByTagName('li').length;
    2.10 +        showhideEditorDiv("editor", navlistcount - 6);
    2.11          if (obj.value == 'html') {
    2.12              document.getElementById('html_editor').style.display='none';
    2.13              document.getElementById('text_editor').style.display='';