=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramDataEntryService.java' --- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramDataEntryService.java 2013-09-09 13:38:36 +0000 +++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/program/DefaultProgramDataEntryService.java 2013-09-19 03:16:23 +0000 @@ -674,7 +674,7 @@ } else { - inputHTML += " class=\"optionset\" data-optionset=\"" + dataElement.getOptionSet().getUid() + "\" "; + inputHTML += " class=\"optionset\" optionset=\"" + dataElement.getOptionSet().getUid() + "\" data-optionset=\"" + dataElement.getOptionSet().getUid() + "\" "; } if ( DataElement.VALUE_TYPE_LONG_TEXT.equals( dataElement.getDetailedTextType() ) ) === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/defaultDataEntryForm.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/defaultDataEntryForm.vm 2013-09-18 02:45:29 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/defaultDataEntryForm.vm 2013-09-19 03:16:23 +0000 @@ -70,13 +70,11 @@ #end #elseif($hasOptionSet=='true') - #if( $programStageDataElement.dataElement.optionSet.options.size() <= 7 && $program.dataEntryMethod =='false' ) - - #elseif( $programStageDataElement.dataElement.optionSet.options.size() <= 7 && $program.dataEntryMethod =='true' ) + #if( $programStageDataElement.dataElement.optionSet.options.size() <= 7 && $program.dataEntryMethod =='true' ) @@ -98,7 +96,7 @@
- $i18n.getString("non_value") @@ -88,8 +86,8 @@ #set($index=0) #end - $encoder.htmlEncode($option)
#else - + #end #elseif($programStageDataElement.dataElement.type=='username') === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2013-09-12 05:49:31 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2013-09-19 03:16:23 +0000 @@ -1011,7 +1011,7 @@ delay: 0, minLength: 0, source: function( request, response ){ - searchOptionSet( input.data('optionset'), input.val(), response ); + searchOptionSet( input.attr('optionset'), input.val(), response ); }, minLength: 0, select: function( event, ui ) { === modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm' --- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm 2013-09-12 05:49:31 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm 2013-09-19 03:16:23 +0000 @@ -7,36 +7,6 @@
- #foreach( $programStageInstance in $linkProgramStageInstances ) - - - #end - #if( $programStageInstances) #else #set( $programStageInstances = $programInstance.programStageInstances) === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-09-17 06:08:16 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/org/hisp/dhis/patient/i18n_module.properties 2013-09-19 03:16:23 +0000 @@ -474,4 +474,6 @@ remind_creating_next_event_on_this_event_completed = Remind creating next event on this event completed data_entry_method = Data entry method local_identifier = Local Identifier -scope = Scope \ No newline at end of file +scope = Scope +drop_down_lists = drop-down lists +radio_buttons = radio buttons \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm 2013-09-17 09:47:21 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm 2013-09-19 03:16:23 +0000 @@ -130,7 +130,10 @@ === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.vm 2013-09-17 09:47:21 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.vm 2013-09-19 03:16:23 +0000 @@ -129,7 +129,10 @@
- #set($valueDate=$format.formatDate( $programStageInstance.dueDate )) - #if($!programStageInstance.executionDate) - #set($valueDate=$format.formatDate( $programStageInstance.executionDate )) - #end -
 $!programStageInstance.organisationUnit.name
- - -
- +
- +