=== 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 2014-05-25 14:36:40 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/activityPlan.js 2014-06-19 08:44:10 +0000 @@ -367,14 +367,12 @@ { var status = getFieldValue("status"); - if( status == '1_2_3_4' - || status == '3_4' - || status == '2_3_4' ){ + if( status == '' || status == 'SKIPPED' ){ enable('showEventSince'); enable('showEventUpTo'); setDateRange(); } - else if( status == '3' ){ + else if( status == 'FUTURE_VISIT' ){ disable('showEventSince'); enable('showEventUpTo'); setDateRange();