← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15342: Fixed bug - Don't display option-set attribute as combobox in default TEI registration form.

 

------------------------------------------------------------
revno: 15342
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-05-22 10:09:49 +0800
message:
  Fixed bug - Don't display option-set attribute as combobox in default TEI registration form.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/trackedEntityInstanceForm.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/trackedEntityInstanceForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/trackedEntityInstanceForm.vm	2014-05-03 04:01:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/trackedEntityInstanceForm.vm	2014-05-22 02:09:49 +0000
@@ -62,7 +62,7 @@
 													 <script type="text/javascript">
 															 datePickerValid( 'attr$attribute.id', false, false );
 													 </script>                    
-											 #elseif( $attribute.valueType == "combo" )  
+											 #elseif( $attribute.valueType == "optionSet" )  
 													 <select id="attr$attribute.id" name="attr$attribute.id" inherit="$!attribute.inherit" class="{validate:{required:$mandatory }}" >
 															 <option value="">[$i18n.getString( "please_select" )]</option>
 															 #foreach ($option in $attribute.optionSet.options )
@@ -123,7 +123,7 @@
 						<script type="text/javascript">
 							datePickerValid( 'attr$attribute.id', false, false );
 						</script>                    
-					#elseif( $attribute.valueType == "combo" )
+					#elseif( $attribute.valueType == "optionSet" )
 						<select  id="attr$attribute.id"  name="attr$attribute.id" inherit="$!attribute.inherit" class=' #validate( "default"  $mandatory  )' >
 							 <option value="">[$i18n.getString( "please_select" )]</option>
 						#foreach ($option in $attribute.optionSet.options )