dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19897
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8872: Error if to select other page in paging div in Multiple Individual Records.
------------------------------------------------------------
revno: 8872
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-11-05 18:07:52 +0700
message:
Error if to select other page in paging div in Multiple Individual Records.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/multiDataEntry.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/reportDataEntryForm.vm
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm 2012-11-02 06:16:10 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm 2012-11-05 11:07:52 +0000
@@ -93,7 +93,7 @@
</h3>
<table style="width:480px;">
<tr>
- <th><span id="reportDateDescriptionField2">$i18n.getString( "report_date" )</span> </th>
+ <th><span id="reportDateDescriptionField2">$i18n.getString( "report_date" )</span> <em title="$i18n.getString( "required" )" class="required">*</em> </th>
<th><input type="text" id="executionDate" name="executionDate" onchange="addNewEvent();"></th>
<script type="text/javascript">
datePickerValid( 'executionDate', false );
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/multiDataEntry.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/multiDataEntry.js 2012-10-17 07:46:19 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/multiDataEntry.js 2012-11-05 11:07:52 +0000
@@ -1,3 +1,4 @@
+isAjax = true;
function multiDataEntryOrgunitSelected( orgUnits, orgUnitNames )
{
@@ -69,6 +70,9 @@
$('#contentDataRecord' ).load("viewProgramStageRecords.action",
{
programStageInstanceId: programStageInstanceId
+ },function()
+ {
+ showById('patientInforTB');
}).dialog(
{
title:i18n_program_stage,
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js 2012-10-22 06:49:19 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js 2012-11-05 11:07:52 +0000
@@ -1,4 +1,3 @@
-
function organisationUnitSelected( orgUnits, orgUnitNames )
{
showById('selectDiv');
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm 2012-10-18 08:12:18 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programEnrollmentForm.vm 2012-11-05 11:07:52 +0000
@@ -32,7 +32,7 @@
<br>
<table id='executionDateTB' name="executionDateTB" class='hidden'>
<tr>
- <th class='text-column'><span id="reportDateDescriptionField">$i18n.getString( "report_date" ) </span> </th>
+ <th class='text-column'><span id="reportDateDescriptionField">$i18n.getString( "report_date" )</span> <em title="$i18n.getString( "required" )" class="required">*</em> </th>
<th><input type="text" id="executionDate" name="executionDate" class='criteria' value="$!format.formatDate( $programStageInstance.executionDate )">
<script type="text/javascript">
datePickerValid( 'executionDate', false );
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/reportDataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/reportDataEntryForm.vm 2012-11-05 03:33:38 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/reportDataEntryForm.vm 2012-11-05 11:07:52 +0000
@@ -3,7 +3,7 @@
<hr/>
</div>
-<div id='patientInforTB'>
+<div id='patientInforTB' name="patientInforTB" style="display:none;">
<table>
#if( $patient )
<tr>