=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2013-03-14 07:36:22 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/struts.xml 2013-03-15 05:48:16 +0000 @@ -1056,7 +1056,7 @@ + class="org.hisp.dhis.caseentry.action.patient.SelectAction"> /main.vm /dhis-web-caseentry/activityPlanSelect.vm === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/activityPlan.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/activityPlan.js 2013-03-05 14:47:06 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/activityPlan.js 2013-03-15 05:48:16 +0000 @@ -3,20 +3,8 @@ function orgunitSelected( orgUnits, orgUnitNames ) { hideById("listPatientDiv"); - clearListById('programIdAddPatient'); - $('#contentDataRecord').html(''); setFieldValue('orgunitName', orgUnitNames[0]); setFieldValue('orgunitId', orgUnits[0]); - jQuery( '#programIdAddPatient').append( '' ); - jQuery.get("getPrograms.action",{}, - function(json) - { - for ( i in json.programs ) { - if(json.programs[i].type==1){ - jQuery( '#programIdAddPatient').append( '' ); - } - } - }); } selection.setListenerFunction( orgunitSelected );