dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02292
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 769: Removed dataelementgroup field in dataelement details. Not sure who put this in but it definitely...
------------------------------------------------------------
revno: 769
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Sat 2009-09-26 00:00:04 +0200
message:
Removed dataelementgroup field in dataelement details. Not sure who put this in but it definitely did not work.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElement.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.
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm 2009-09-09 05:41:45 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElement.vm 2009-09-25 22:00:04 +0000
@@ -96,8 +96,7 @@
<p><label>$i18n.getString( "type" ):</label><br><span id="typeField"></span></p>
<p><label>$i18n.getString( "aggregation_operator" ):</label><br><span id="aggregationOperatorField"></span></p>
<p><label>$i18n.getString( "category_combination" ):</label><br><span id="categoryComboField"></span></p>
- <p><label>$i18n.getString( "url" ):</label><br><span id="urlField"></span></p>
- <p><label>$i18n.getString( "data_element_group" ):</label><br><span id="dataElementGroups"></span></p>
+ <p><label>$i18n.getString( "url" ):</label><br><span id="urlField"></span></p>
</div>
</div>
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElement.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElement.js 2009-09-09 05:41:45 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElement.js 2009-09-25 22:00:04 +0000
@@ -60,12 +60,6 @@
var url = getElementValue( dataElementElement, 'url' );
setFieldValue( 'urlField', url ? '<a href="' + url + '">' + url + '</a>' : '[' + i18n_none + ']' );
- var dataElementGroupList = "";
- var dataElementGroups = dataElementElement.getElementsByTagName('dataElementGroups')[0].getElementsByTagName('dataElementGroup');
- for(var i=0;i<dataElementGroups.length;i++){
- dataElementGroupList += (i + 1) + "-" + dataElementGroups.item(i).firstChild.nodeValue + "<br>";
- }
- setFieldValue('dataElementGroups', dataElementGroupList);
showDetails();
}