dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #09505
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2541: Reverted r 2540
------------------------------------------------------------
revno: 2541
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-01-12 08:26:20 +0100
message:
Reverted r 2540
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.java
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/ViewDataEntryFormAction.java
--
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
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.java 2011-01-12 06:52:09 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementOperand.java 2011-01-12 07:26:20 +0000
@@ -240,7 +240,6 @@
*/
public void updateProperties( DataElement dataElement, DataElementCategoryOptionCombo categoryOptionCombo )
{
- this.categoryOptionCombo = categoryOptionCombo;
this.dataElementId = dataElement.getId();
this.optionComboId = categoryOptionCombo.getId();
this.operandId = dataElement.getId() + SEPARATOR + categoryOptionCombo.getId();
@@ -249,7 +248,6 @@
this.frequencyOrder = dataElement.getFrequencyOrder();
this.aggregationLevels = new ArrayList<Integer>( dataElement.getAggregationLevels() );
this.valueType = dataElement.getType();
- this.dataElement = dataElement;
}
/**
@@ -266,8 +264,7 @@
this.aggregationOperator = dataElement.getAggregationOperator();
this.frequencyOrder = dataElement.getFrequencyOrder();
this.aggregationLevels = new ArrayList<Integer>( dataElement.getAggregationLevels() );
- this.valueType = dataElement.getType();
- this.dataElement = dataElement;
+ this.valueType = dataElement.getType();
}
/**
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2011-01-12 06:52:09 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2011-01-12 07:26:20 +0000
@@ -1068,7 +1068,7 @@
*/
function removeValidatorRulesById( inputId, rules )
{
- removeValidatorRules( jQuery("#" + inputId), rules);
+ removeValidatorRules( jQuery("#" + inputId) );
}
function removeValidatorRules( input, rules )
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/ViewDataEntryFormAction.java'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/ViewDataEntryFormAction.java 2011-01-12 06:52:09 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/ViewDataEntryFormAction.java 2011-01-12 07:26:20 +0000
@@ -162,7 +162,8 @@
autoSave = (Boolean) userSettingService.getUserSetting( UserSettingService.AUTO_SAVE_DATA_ENTRY_FORM, false );
- operands = new ArrayList<DataElementOperand>( dataElementCategoryService.getOperands( dataSet.getDataElements() ) );
+ operands = new ArrayList<DataElementOperand>( dataElementCategoryService.getFullOperands( dataSet
+ .getDataElements() ) );
Collections.sort( operands, new DataElementOperandNameComparator() );