=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementGroupEditorView.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementGroupEditorView.vm 2010-12-13 06:40:41 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/dataElementGroupEditorView.vm 2011-03-14 03:30:32 +0000
@@ -172,12 +172,13 @@
{
var text = availableDataElements[id];
if( text.toLowerCase().indexOf( filter_1.toLowerCase() ) != -1)
- {
+ {
list_1.append('' );
list_2.append('' );
}
}
+ sortList( 'availableDataElements', 'ASC' );
list_1.find(":first").attr("selected", "selected");
list_2.find(":first").attr("selected", "selected");
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/indicatorGroupEditorView.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/indicatorGroupEditorView.vm 2010-12-13 06:40:41 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/indicatorGroupEditorView.vm 2011-03-14 03:30:32 +0000
@@ -184,6 +184,7 @@
}
}
+ sortList( 'availableIndicators', 'ASC' );
list_1.find(":first").attr("selected", "selected");
list_2.find(":first").attr("selected", "selected");