Skip to content

Commit

Permalink
Add multi_value check to automate_key_name
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Aug 11, 2016
1 parent 9fe4bc7 commit 6d6512c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/models/dialog_field_drop_down_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@ def automate_output_value
end

def automate_key_name
return super unless multi_value?
MiqAeEngine.create_automation_attribute_array_key(super)
end

# unsure if i need this but tagControl has it
# def value_from_dialog_fields(dialog_values)
# value = dialog_values[automate_key_name]
# end

private

def load_values_on_init?
Expand Down

0 comments on commit 6d6512c

Please sign in to comment.