Skip to content

Commit

Permalink
Fixed DOM element names for Utilization & Bottleneck tree select
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Feb 8, 2017
1 parent 995b0cb commit 05bed9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/miq_tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ function miqOnClickIncludeDomainPrefix() {

function miqOnClickSelectOptimizeTreeNode(id) {
var tree;
if (miqDomElementExists('miq_capacity_utilization')) {
if (miqDomElementExists('utilization_accord')) {
tree = "utilization_tree";
} else if (miqDomElementExists('miq_capacity_bottlenecks')) {
} else if (miqDomElementExists('bottlenecks_accord')) {
tree = "bottlenecks_tree";
}
if (id.split('-')[1].split('_')[0] == 'folder' ) {
Expand Down

0 comments on commit 05bed9e

Please sign in to comment.