=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2012-09-13 06:44:04 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2012-09-13 07:33:43 +0000 @@ -462,7 +462,10 @@ } else { + var $matched = $tbody.find('tr:not([colspan])').find('td:first-child(:contains("' + $this.val() + '")') var $not_matched = $tbody.find('tr:not([colspan])').find('td:first-child(:not(:contains("' + $this.val() + '"))') + + $matched.parent().parent(). show(); $not_matched.parent().parent(). hide(); } }