=== 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-14 12:07:06 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2012-09-15 04:31:19 +0000 @@ -470,6 +470,14 @@ $matched.parent().parent(). show(); $not_matched.parent().parent(). hide(); } + + refreshZebraStripes($tbody); +} + +function refreshZebraStripes($tbody) +{ + $tbody.find( 'tr:not([colspan]):visible:even' ).find('td:first-child').removeClass('reg alt').addClass('alt'); + $tbody.find( 'tr:not([colspan]):visible:odd' ).find('td:first-child').removeClass('reg alt').addClass('reg'); } function getDataElementType( dataElementId )