~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to local/in/dhis-web-dashboard/src/main/webapp/dhis-web-dashboard/menuWithTreeForGA.vm

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#parse( "/dhis-web-dashboard/menu.vm" )
 
3
#parse( "/dhis-web-commons/ouwt/orgunittree.vm" )
 
4
 
 
5
<!-- The script that registeres selctions in the orgunit tree -->
 
6
<script type="text/javascript">
 
7
 
 
8
function orgUnitHasBeenSelected( orgUnitIds )
 
9
{    
 
10
        if(document.getElementById( 'ougSetCB' ).checked)
 
11
        {
 
12
         return;
 
13
        }
 
14
        if(orgUnitIds != null)
 
15
        {
 
16
                getOUDeatilsForGA(orgUnitIds);
 
17
        }               
 
18
}
 
19
 
 
20
selection.setListenerFunction( orgUnitHasBeenSelected );
 
21
 
 
22
</script>
 
23
 
 
24
 
 
25
 
 
26