=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js 2012-02-13 04:51:23 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/oust/oust.js 2012-02-25 01:53:21 +0000 @@ -137,13 +137,9 @@ var parentTag = document.getElementById( getTagId( unitId )); var children = $(parentTag).find( 'ul' ); - var request = new Request(); - request.setResponseTypeXML( 'units' ); - if ( children.length < 1 || !isVisible( children[0] )) - { - request.setCallbackSuccess( processExpand ); - request.send( selectionTreePath + 'expandSubtree.action?parentId=' + unitId ); + { + $.post( selectionTreePath + 'expandSubtree.action',{parentId:unitId},processExpand ); } else {