From 81f32e3b3e7e49c43d0264871645d919be840d05 Mon Sep 17 00:00:00 2001 From: Harpreet Kataria Date: Thu, 11 Oct 2018 17:55:34 -0400 Subject: [PATCH] Merge pull request #4759 from eclarizio/BZ1638420 Fix for javascript error when attempting to edit a service dialog based on orchestration template (cherry picked from commit 6f48f1410207d8d9817435d6de4c1bf08fe78f2e) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1638420 --- app/views/miq_ae_customization/_dialog_sample.html.haml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/miq_ae_customization/_dialog_sample.html.haml b/app/views/miq_ae_customization/_dialog_sample.html.haml index f7cecd4bf86..0c104275ab1 100644 --- a/app/views/miq_ae_customization/_dialog_sample.html.haml +++ b/app/views/miq_ae_customization/_dialog_sample.html.haml @@ -83,10 +83,7 @@ options_for_select(val.collect(&:reverse), field.default_value), drop_down_options(field, "someURL")) :javascript - dialogFieldRefresh.initializeDialogSelectPicker('#{field.name}', - '#{field.id}', - undefined, - '#{field.trigger_auto_refresh}'); + miqInitSelectPicker(); - else - val.each_with_index do |rb, i|