=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/orgunittree.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/orgunittree.vm 2010-11-22 02:55:36 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/orgunittree.vm 2010-11-23 03:20:24 +0000 @@ -3,14 +3,17 @@ $(document).ready(function(){ $("#searchIcon").click(function(){ $("#searchSpan").toggle(); - $("#searchSpan").focus(); + $("#searchField").focus(); + byId('visited').value = ( byId('visited').value==0 ) ? 1 : 0 ; }); + }); + - + #macro( parseNode $node ) #if( $node.hasChildren ) @@ -48,4 +51,16 @@ #end -#end \ No newline at end of file +#end + + \ No newline at end of file