← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4161: fixed ouwt bug, caused tree to not expand correctly

 

------------------------------------------------------------
revno: 4161
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-07-18 17:04:20 +0200
message:
  fixed ouwt bug, caused tree to not expand correctly
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-07-18 14:26:14 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js	2011-07-18 15:04:20 +0000
@@ -197,8 +197,8 @@
                 createChildren( $parentTag.get( 0 ), item );
             } else
             {
-                setVisible( $children.eq( 0 ), false );
-                setToggle( $parentTag, false );
+                setVisible( $children.eq( 0 ), true );
+                setToggle( $parentTag, true );
             }
         } );
     }