Skip to content

Commit e2ecb14

Browse files
Merge pull request #9030 from jeffibm/fix-request-info-tabs
Fix for the error messages in Request-info tabs in the Service catalog item summary pages
2 parents e4e0279 + 48427b8 commit e2ecb14

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/controllers/catalog_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,6 @@ def explorer
350350
return
351351
end
352352

353-
build_accordions_and_trees
354-
355353
if params[:id] && !params[:button] # If a tree node id came in, show in one of the trees
356354
@nodetype, id = parse_nodetype_and_id(params[:id])
357355
self.x_active_tree = 'sandt_tree'
@@ -364,6 +362,8 @@ def explorer
364362
@in_a_form = false
365363
end
366364

365+
build_accordions_and_trees
366+
367367
if params[:commit] == "Upload" && session.fetch_path(:edit, :new, :sysprep_enabled, 1) == "Sysprep Answer File"
368368
upload_sysprep_file
369369
set_form_locals_for_sysprep

app/controllers/service_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def show_list
1818

1919
def show
2020
super
21+
@options = {}
2122
@view, @pages = get_view(Vm, :parent => @record, :parent_method => :all_vms, :all_pages => true)
2223
end
2324

0 commit comments

Comments
 (0)