=== modified file 'dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/data-entry.vm' --- dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/data-entry.vm 2013-10-15 11:45:28 +0000 +++ dhis-2/dhis-web/dhis-web-mobile/src/main/webapp/WEB-INF/dhis-web-mobile-velocity/data-entry.vm 2013-12-17 14:41:36 +0000 @@ -15,6 +15,7 @@ function selectOrganisationUnit( e ) { Selected.orgUnit = $(this).data('id'); + Selected.orgUnitName = $(this).html(); } function selectDataSet( e ) { @@ -23,6 +24,7 @@ function selectPeriod( e ) { Selected.period = $(this).data('id'); + Selected.periodName = $(this).html(); } function loadOrganisationUnitsPage() { @@ -162,7 +164,9 @@ $( '#data-entry-page section[data-role="content"]' ).html( _.template( tmpl, { 'form': form, - 'valueMap': valueMap + 'valueMap': valueMap, + periodName: Selected.periodName, + orgUnitName: Selected.orgUnitName }) ); @@ -309,11 +313,15 @@