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

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dropdown.js

  • 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
function setAreaItem( area, item )
 
3
{
 
4
  var request = new Request();  
 
5
  request.setCallbackSuccess( setAreaItemReceived );    
 
6
  request.send( "setAreaItem.action?area=" + area + "&item=" + item );
 
7
}
 
8
 
 
9
function setAreaItemReceived( messageElement )
 
10
{
 
11
  window.location.href = "index.action";
 
12
}
 
13
 
 
14
function clearArea( area )
 
15
{
 
16
  var request = new Request();  
 
17
  request.setCallbackSuccess( clearAreaReceived );    
 
18
  request.send( "clearArea.action?area=" + area );
 
19
}
 
20
 
 
21
function clearAreaReceived( messageElement )
 
22
{
 
23
  window.location.href = "index.action";
 
24
}
 
25
 
 
26
function viewChart( url )
 
27
{
 
28
    window.open( url, "_blank", "directories=no, height=560, width=760, location=no, menubar=no, status=no, toolbar=no, resizable=no, scrollbars=no" );
 
29
}