Skip to content

Commit

Permalink
Related-Bug:#1437178
Browse files Browse the repository at this point in the history
    Handled the null check and moved the code from common place to underlay specific page

Change-Id: Ie256c8c458dc690a737b234a0d7710d53924e86d
  • Loading branch information
vishnuvv committed Apr 8, 2015
1 parent 5adf08c commit 5afd86a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions webroot/js/qe-utils.js
Expand Up @@ -1755,18 +1755,6 @@ function loadFlowResults(options, reqQueryObj, columnDisplay, fcGridDisplay) {
}
]
};
if(globalObj && globalObj.hasOwnProperty('webServerInfo') &&
globalObj.webServerInfo.hasOwnProperty('disabledFeatures') &&
globalObj['webServerInfo']['disabledFeatures']['disabled'].indexOf('mon_infra_underlay') == -1) {
gridConfig.body.options.actionCell.push({
title: 'Show Underlay Paths',
iconClass: 'icon-edit',
onClick: function(rowIndex){
var dataItem = $('#' + options.elementId).data('contrailGrid')._grid.getDataItem(rowIndex);
showUnderlayPaths(dataItem);
}
});
}
}

$("#" + options.elementId).contrailGrid(gridConfig);
Expand Down

0 comments on commit 5afd86a

Please sign in to comment.