MylesBock commented on a change in pull request #5332:
URL: https://github.com/apache/trafficcontrol/pull/5332#discussion_r533878162



##########
File path: 
traffic_portal/app/src/common/modules/table/servers/TableServersController.js
##########
@@ -23,13 +23,22 @@ var TableServersController = function(tableName, servers, 
filter, $scope, $state
        // browserify can't handle classes...
        function SSHCellRenderer() {}
        SSHCellRenderer.prototype.init = function(params) {
-               this.eGui = document.createElement("A");
-               this.eGui.href = "ssh://" + userModel.user.username + "@" + 
params.value;
-               this.eGui.setAttribute("target", "_blank");
+               this.eGui = document.createElement("div");
                this.eGui.textContent = params.value;
+               this.data.cellHrefValue = "ssh://" + userModel.user.username + 
"@" + params.value;

Review comment:
       This literally crossed my mind Saturday afternoon :upside_down_face: 
   
   I need to figure out where it's approps to stash this, the context presently 
isn't correct of course




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to