File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -298,12 +298,10 @@ def atomic_form_field_changed
298298 # when display in catalog is checked, replace div so tabs can be redrawn
299299 if ( params [ :st_prov_type ] || ( params [ :display ] && @edit [ :new ] [ :st_prov_type ] . starts_with? ( "generic" ) ) ) || params [ :ovf_template_id ]
300300 page . replace ( "form_div" , :partial => "st_form" )
301- end
302- if automate_tree_needed?
303- page . replace ( "basic_info_div" , :partial => "form_basic_info" )
304- end
305- if params [ :display ]
301+ elsif params [ :display ]
306302 page << "miq_tabs_show_hide('#details_tab', '#{ ( params [ :display ] == "1" ) } ')"
303+ elsif automate_tree_needed?
304+ page . replace ( "basic_info_div" , :partial => "form_basic_info" )
307305 end
308306 page . replace_html ( "provision_entry_point" , :partial => "provision_entry_point" ) if params [ :provision_entry_point_type ]
309307 page . replace_html ( "reconfigure_entry_point" , :partial => "reconfigure_entry_point" ) if params [ :reconfigure_entry_point_type ]
You can’t perform that action at this time.
0 commit comments