← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20707: Minor fix

 

------------------------------------------------------------
revno: 20707
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-10-15 11:08:12 +0700
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.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/updateProgramForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.vm	2015-10-12 02:52:01 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramForm.vm	2015-10-15 04:08:12 +0000
@@ -91,9 +91,13 @@
 		<tr>
 			<td><label for="type">$i18n.getString( "type" ) </label></td>
 			<td>
-				<select id="programType" name="programType" onchange='programOnChange();' class="{validate:{required:true}}" #if($program.programType=="WITH_REGISTRATION")disabled style="background-color: #eee;"#end>
-					<option value='WITH_REGISTRATION' #if( $program.programType=="WITH_REGISTRATION" ) selected #end>$i18n.getString('with_registration')</option>
-					<option value='WITHOUT_REGISTRATION' #if( $program.programType=="WITHOUT_REGISTRATION" ) selected #end>$i18n.getString('without_registration')</option>
+				<select id="programType" name="programType" onchange='programOnChange();' class="{validate:{required:true}}">
+					#if($program.programType=="WITH_REGISTRATION")
+						<option value='WITH_REGISTRATION' #if( $program.programType=="WITH_REGISTRATION" ) selected #end>$i18n.getString('with_registration')</option>
+					#else
+						<option value='WITH_REGISTRATION' #if( $program.programType=="WITH_REGISTRATION" ) selected #end>$i18n.getString('with_registration')</option>
+						<option value='WITHOUT_REGISTRATION' #if( $program.programType=="WITHOUT_REGISTRATION" ) selected #end>$i18n.getString('without_registration')</option>
+					#end
 				</select>
 			</td>
 			<td></td>