mirror of
https://github.com/geohot/qira
synced 2025-03-14 02:52:52 +03:00
Add outergbox to cfg.
This commit is contained in:
parent
8baeed7761
commit
68d24ea372
@ -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) {
|
||||
@ -129,7 +129,7 @@ Graph.prototype.render = function() {
|
||||
var req = new XMLHttpRequest();
|
||||
req.open('POST', '/dot', false);
|
||||
req.send(send);
|
||||
|
||||
|
||||
//p(send);
|
||||
|
||||
var i;
|
||||
@ -254,4 +254,3 @@ Graph.prototype.debugPrint = function() {
|
||||
p(' '+this.edges[i]['from']+' -'+this.edges[i]['color']+'> '+this.edges[i]['to']);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user