=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js 2014-02-11 15:34:53 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js 2014-04-14 07:47:26 +0000 @@ -324,7 +324,7 @@ function handleError( xhr, textStatus, errorThrown ) { - if ( 409 == xhr.status ) // Invalid value or locked + if ( 409 == xhr.status || 500 == xhr.status ) // Invalid value or locked { markValue( fieldId, COLOR_RED ); setHeaderMessage( xhr.responseText );