diff --git a/app/models/dialog.rb b/app/models/dialog.rb index 1450c1f8229..c02d8105910 100644 --- a/app/models/dialog.rb +++ b/app/models/dialog.rb @@ -89,8 +89,8 @@ def validate_field_data def init_fields_with_values(values) dialog_field_hash.each do |key, field| - values[key] = field.value field.dialog = self + values[key] = field.value end dialog_field_hash.each { |key, field| values[key] = field.initialize_with_values(values) } dialog_field_hash.each { |_key, field| field.update_values(values) }