dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11613
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3355: Removed unused js file
------------------------------------------------------------
revno: 3355
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-04-12 12:55:06 +0200
message:
Removed unused js file
removed:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/criteria.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
=== removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/criteria.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/criteria.js 2010-08-20 07:54:16 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/criteria.js 1970-01-01 00:00:00 +0000
@@ -1,76 +0,0 @@
-
-// -------------------------------------------------------------------------
-// Public methods
-// -------------------------------------------------------------------------
-
-function addOption( list, value, text )
-{
- var option = document.createElement( "option" );
- option.value = value;
- option.text = text;
- list.add( option, null );
-}
-
-function loadOrgunitLevels()
-{
- var list = document.getElementById( "level" );
-
- $.getJSON(
- "getOrganisationUnitLevels.action",
- function( json )
- {
- for ( var i=0; i<json.organisationUnitLevels.length; i++ )
- {
- var level = json.organisationUnitLevels[i].level;
- var name = json.organisationUnitLevels[i].name;
-
- addOption( list, level, name );
- }
- }
- );
-}
-
-function loadPeriodTypes()
-{
- var list = document.getElementById( "periodType" );
-
- $.getJSON(
- "getPeriodTypes.action",
- function( json )
- {
- for ( var i=0; i<json.periodTypes.length; i++ )
- {
- var name = json.periodTypes[i].name;
-
- addOption( list, name, name );
- }
- }
- );
-}
-
-function showCriteria()
-{
- $( "div#criteria" ).show( "fast" );
-}
-
-function hideCriteria()
-{
- $( "div#criteria" ).hide( "fast" );
-}
-
-function showPivot()
-{
- $( "div#pivot" ).show( "fast" );
-}
-
-function hidePivot()
-{
- $( "div#pivot" ).hide( "fast" );
-}
-
-function hideDivs()
-{
- hideCriteria();
- hidePivot();
-}
-