=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addCaseAggregation.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addCaseAggregation.vm 2014-08-06 15:20:54 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addCaseAggregation.vm 2014-08-11 13:54:43 +0000
@@ -52,12 +52,12 @@
@@ -71,16 +75,15 @@
$i18n.getString('filter_by_name')
-
|
-
+
|
-
+ |
- |
-
-
+
+
+ |
+
+
+
+
|
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.js 2014-08-11 12:53:29 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/javascript/caseaggregation.js 2014-08-11 13:54:43 +0000
@@ -504,10 +504,10 @@
window.location.href = 'caseAggregation.action?dataSetId=' + dataSetId;
}
-function attributeAutocompletedField( idField, optionSetUid )
+function attributeAutocompletedField( idField, optionSetUid, btnId, optionId )
{
- $("#attributesButton").unbind('click');
- enable('attributesButton');
+ $("#" + btnId).unbind('click');
+ enable(btnId);
var input = jQuery( "#" + idField );
var select = jQuery( "#attributeId" );
input.autocomplete({
@@ -529,7 +529,7 @@
},
select: function( event, ui ) {
input.val(ui.item.label);
- jQuery("#attributeId").append( "" );
+ jQuery("#" + optionId).append( "" );
input.autocomplete("close");
return false;
@@ -566,7 +566,7 @@
.addClass("ui-combobox")
.insertAfter(input);
- var button = $("#attributesButton")
+ var button = $("#" + btnId)
.attr("tabIndex", -1)
.attr("title", i18n_show_all_items)
.appendTo(wrapper)
@@ -594,19 +594,19 @@
return val.split( /,\s*/ );
}
-function getSuggestedValues( _this, suggestedField )
+function getSuggestedValues( _this, suggestedField, btnId, optionId )
{
- clearListById('attributeId');
+ clearListById(optionId);
var field = jQuery( '#' + suggestedField );
var option = jQuery("#" + _this.id + " option:selected" );
if( option.attr('optionset') != "" ){
- attributeAutocompletedField( suggestedField, option.attr('optionset') );
+ attributeAutocompletedField( suggestedField, option.attr('optionset'), btnId, optionId );
enable(suggestedField);
- jQuery( '#attributesButton').css("display", "");
+ jQuery( '#' + btnId ).css("display", "");
}
else{
disable(suggestedField);
- jQuery( '#attributesButton').css("display", "none");
+ jQuery( '#' + btnId ).css("display", "none");
}
}
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateCaseAggregation.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateCaseAggregation.vm 2014-08-06 15:20:54 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateCaseAggregation.vm 2014-08-11 13:54:43 +0000
@@ -50,12 +50,12 @@
|
- $i18n.getString('number_of_tracked_entities')
- $i18n.getString('number_of_visits')
- $i18n.getString('sum_dataelement_value')
- $i18n.getString('avg_dataelement_value')
- $i18n.getString('min_dataelement_value')
- $i18n.getString('max_dataelement_value')
+
+
+
+
+
+
|
|