Skip to content

Commit

Permalink
Merge pull request #16657 from d-m-u/updating_dialog_label_to_name_in…
Browse files Browse the repository at this point in the history
…_that_one_place_for_daily_stats

Dialog label has been deprecated
(cherry picked from commit aa6336d)
  • Loading branch information
bdunne authored and simaishi committed Dec 14, 2017
1 parent da9379c commit 8d5d89b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/dialog/orchestration_template_service_dialog.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
class Dialog
class OrchestrationTemplateServiceDialog
def self.create_dialog(label, template)
new.create_dialog(label, template)
def self.create_dialog(name, template)
new.create_dialog(name, template)
end

def create_dialog(label, template)
Dialog.new(:label => label, :buttons => "submit,cancel").tap do |dialog|
def create_dialog(name, template)
Dialog.new(:name => name, :buttons => "submit,cancel").tap do |dialog|
tab = dialog.dialog_tabs.build(:display => "edit", :label => "Basic Information", :position => 0)
add_stack_group(template.deployment_options, tab, 0)

Expand Down

0 comments on commit 8d5d89b

Please sign in to comment.