← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11962: Fixed bug - Sometimes, calendar div of date fields don't display in registration form.

 

------------------------------------------------------------
revno: 11962
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2013-09-07 20:22:52 +0700
message:
  Fixed bug - Sometimes, calendar div of date fields don't display in registration form.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js


--
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/javascript/patient.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js	2013-09-05 19:28:11 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js	2013-09-07 13:22:52 +0000
@@ -232,7 +232,8 @@
 	hideById('selectDiv');
 	hideById('searchDiv');
 	hideById('migrationPatientDiv');
-	hideById('patientDashboard');
+	setInnerHTML('addRelationshipDiv','');
+	setInnerHTML('patientDashboard','');
 	
 	jQuery('#loaderDiv').show();
 	jQuery('#editPatientDiv').load('showAddPatientForm.action',