=== modified file 'dhis-2/dhis-web/dhis-web-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.js' --- dhis-2/dhis-web/dhis-web-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.js 2014-07-17 12:53:18 +0000 +++ dhis-2/dhis-web/dhis-web-tracker-capture/src/main/webapp/dhis-web-tracker-capture/scripts/services.js 2014-07-18 13:18:34 +0000 @@ -434,7 +434,7 @@ }); angular.forEach(program.programTrackedEntityAttributes, function(pAttribute){ - var att = attributes[pAttribute.trackedEntityAttribute.id]; + var att = attributes[pAttribute.attribute.id]; att.mandatory = pAttribute.mandatory; if(pAttribute.displayInList){ att.displayInListNoProgram = true;