Skip to content
Snippets Groups Projects
Commit 60d0cc16 authored by juanf's avatar juanf
Browse files

BIS-604 / SP-1211: ELN UI - Hierarchical View (Webkit Bugfix for Inspectors)

SVN: 30810
parent 473ee229
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,6 @@ div.inspectorCondensed {
color: #000;
display: block;
overflow: hidden;
position: relative;
padding: 20px;
border-radius: 90px;
}
......
......@@ -343,8 +343,7 @@ function SampleHierarchy(serverFacade, inspector, containerId, profile, sample)
this._glowNode = function(nodeId) {
$("#"+nodeId).removeClass("glow");
var glow = function() {
//Make it Glow
$("#" + nodeId).addClass("glow");
$("#" + nodeId).addClass("glow"); //Make it Glow
}
setTimeout(glow, 500);
}
......@@ -358,7 +357,8 @@ function SampleHierarchy(serverFacade, inspector, containerId, profile, sample)
var _this = this;
function addSampleNodes(sample, rootPermId) {
if(!NODES[sample.permId]) {
var $nodeContent = $('<div>', { 'id' : _this.nodeIdPrefix + sample.permId });
var nodeId = _this.nodeIdPrefix + sample.permId;
var $nodeContent = $('<div>');
$nodeContent.css({
'white-space' :'nowrap',
'padding' : '10px',
......@@ -418,6 +418,7 @@ function SampleHierarchy(serverFacade, inspector, containerId, profile, sample)
$nodeContent.append('---');
}
$nodeContent.attr('id', nodeId);
g.addNode(sample.permId, { label: $nodeContent[0].outerHTML});
NODES[sample.permId] = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment