]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed the class diagrams javascript to initialize the dropdown button image to the...
authorBryan Petty <bryan@ibaku.net>
Tue, 27 Jan 2009 18:40:23 +0000 (18:40 +0000)
committerBryan Petty <bryan@ibaku.net>
Tue, 27 Jan 2009 18:40:23 +0000 (18:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/wxwidgets.js

index 7b02c0aae607948b412fbeccbe2379fcf2afdf44..d84be5057ff8ab06825a170e9f481339d5f2ca73 100644 (file)
@@ -66,14 +66,15 @@ window.onload = function myinitDynSections()
       header.style.cursor='pointer';\r
       header.onclick=mychangeDisplayState;\r
       header.id='dynheader'+sectionCounter;\r
-      button.src='closed.gif';\r
       section.id='dynsection'+sectionCounter;\r
 \r
       var display = getCookie( 'sectionDiv.style.display' );\r
-      if ( display == '' ){\r
+      if ( display == '' || display == 'block' ){\r
         section.style.display='block'; // default\r
+        button.src='open.gif';\r
       }else{\r
-        section.style.display=display;\r
+        section.style.display='none';\r
+        button.src='closed.gif';\r
       }\r
       setCookie( 'sectionDiv.style.display', section.style.display );\r
 \r