Add outergbox to cfg.

This commit is contained in:
Christopher Ganas 2015-03-30 22:17:31 -04:00
parent 8baeed7761
commit 68d24ea372
1 changed files with 3 additions and 4 deletions

View File

@ -101,10 +101,10 @@ Graph.prototype.render = function() {
}
var outergbox = $('<div id="outergbox"></div>');
$("#staticpanel").html("");
$("#cfg-static").html("");
gbox = document.createElement('div');
outergbox[0].appendChild(gbox);
document.getElementById("staticpanel").appendChild(outergbox[0]);
document.getElementById("cfg-static").appendChild(outergbox[0]);
gbox.id = 'gbox';
gbox.className = name;
if (name in gPos) {
@ -254,4 +254,3 @@ Graph.prototype.debugPrint = function() {
p(' '+this.edges[i]['from']+' -'+this.edges[i]['color']+'> '+this.edges[i]['to']);
}
};