=== modified file 'local/vn/dhis-web-dataentry-hospital/src/main/webapp/dhis-web-dataentry-hospital/javascript/form.js' --- local/vn/dhis-web-dataentry-hospital/src/main/webapp/dhis-web-dataentry-hospital/javascript/form.js 2012-08-10 08:52:33 +0000 +++ local/vn/dhis-web-dataentry-hospital/src/main/webapp/dhis-web-dataentry-hospital/javascript/form.js 2012-08-15 18:21:22 +0000 @@ -232,7 +232,10 @@ byId( 'inputCriteria' ).style.width = '504px'; byId( 'inputCriteria' ).style.height = '80px'; - + + $( '#currentPeriod' ).html( i18n_no_period_selected ); + $( '#currentDataElement' ).html( i18n_no_dataelement_selected ); + clearEntryForm(); } @@ -250,9 +253,10 @@ function loadForm( dataSetId, value ) { - //hideExportDiv(); showLoader(); + $( '#currentDataElement' ).html( i18n_no_dataelement_selected ); + $( '#contentDiv' ).load( 'loadForm.action', { dataSetId : dataSetId, @@ -374,6 +378,9 @@ { clearEntryForm(); + $( '#currentPeriod' ).html( i18n_no_period_selected ); + $( '#currentDataElement' ).html( i18n_no_dataelement_selected ); + clearListById( 'selectedPeriodId' ); hideById('attributeDiv');