Fixed js problem in set new parent (visual console). Ticket2765
This commit is contained in:
parent
929913421d
commit
4525769ffc
|
@ -1458,8 +1458,8 @@ function updateDB_visual(type, idElement , values, event, top, left) {
|
||||||
if (end_foreach) {
|
if (end_foreach) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lines[i]['node_begin'] == idElement) {
|
if (lines[i]['node_end'] == idElement) {
|
||||||
found = true;
|
found = true;
|
||||||
if (values['parent'] == 0) {
|
if (values['parent'] == 0) {
|
||||||
//Erased the line
|
//Erased the line
|
||||||
|
|
Loading…
Reference in New Issue