From 5afd86a2794118239768311f675fddec0e96dd51 Mon Sep 17 00:00:00 2001 From: Vishnu Vardhan V Date: Thu, 9 Apr 2015 00:12:04 +0530 Subject: [PATCH] Related-Bug:#1437178 Handled the null check and moved the code from common place to underlay specific page Change-Id: Ie256c8c458dc690a737b234a0d7710d53924e86d --- webroot/js/qe-utils.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/webroot/js/qe-utils.js b/webroot/js/qe-utils.js index f669eb444..166a553f9 100644 --- a/webroot/js/qe-utils.js +++ b/webroot/js/qe-utils.js @@ -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);