Navigation Menu

Skip to content

Commit

Permalink
Fix mapping to clinician telephone.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Kim committed Feb 17, 2011
1 parent caae998 commit 70ea650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-web-api/ruby/lib/trisano-web-api-cmr.rb
Expand Up @@ -753,7 +753,7 @@ def populate_form(form)
end end
if !@options.clinician_telephone_entity_location_type.nil? if !@options.clinician_telephone_entity_location_type.nil?
found = false found = false
form.field('morbidity_event[clinicians_attributes][1][person_entity_attributes][telephones_attributes][0][entity_location_type_id]').options.each do |s| form.field('morbidity_event[clinicians_attributes][0][person_entity_attributes][telephones_attributes][0][entity_location_type_id]').options.each do |s|
if s.text == @options.clinician_telephone_entity_location_type if s.text == @options.clinician_telephone_entity_location_type
found = true found = true
s.select s.select
Expand Down

0 comments on commit 70ea650

Please sign in to comment.