------------------------------------------------------------
revno: 20844
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Thu 2015-10-22 11:10:24 +0700
message:
  block changing from repeatble to non-repeatable program stage
modified:
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageForm.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-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageForm.vm	2015-10-01 18:17:35 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageForm.vm	2015-10-22 04:10:24 +0000
@@ -152,8 +152,13 @@
 	
 			<tr>
 				<td><label for="irregular">$i18n.getString( "repeatable" )</label></td>
-				<td><input type="checkbox" id="irregular" name="irregular" value='true' #if( $programStage.irregular && $programStage.irregular == 'true' ) checked #end onchange='repeatableOnChange();' /></td>
-			</tr>			
+				#if( $programStage.irregular && $programStage.irregular == 'true' )
+					<td><input type="checkbox" value='true' checked disabled/></td>
+					<td><input type="hidden" id="irregular" name="irregular" value='true' checked/></td>
+				#else
+					<td><input type="checkbox" id="irregular" name="irregular" value='true' onchange='repeatableOnChange();' /></td>
+				#end
+			</tr>
 			
 			<tr>
 				<td><label for="periodTypeName">$i18n.getString( "period_type" )</label></td>

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to