← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13507: Fixed bug - Don't open the custom registration form without program.

 

------------------------------------------------------------
revno: 13507
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-12-31 13:42:29 +0700
message:
  Fixed bug - Don't open the custom registration form without program.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.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-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm	2013-12-31 03:05:28 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/patientRegistrationForm.vm	2013-12-31 06:42:29 +0000
@@ -16,8 +16,8 @@
 		<th>$i18n.getString( "program" )</th>
 	  </tr>
 	</thead>
-	<tbody class="list">
-		<tr id="tr" data-id="" data-uid="" 
+	<tbody id="list">
+		<tr id="tr0" data-id="" data-uid="" 
 			data-type="PatientRegistrationForm" 
 			data-name="$i18n.getString( 'no_program' )">
 				#if($mapRegistrationForms.get('0'))
@@ -26,8 +26,6 @@
 					<td>$i18n.getString('no_program')</td> 
 				#end
 		</tr>
-		
-		<tbody id="list">
 		#foreach($program in $programs)
 			<tr id="tr${program.id}" 
 				data-id="$!program.id" data-uid="$!program.uid" 
@@ -39,9 +37,8 @@
 				#else
 					<td>$program.name</td>
 				#end
+			</tr>
 		#end
-		 
-		</tbody>
 	</tbody>
 </table>