Fixed js problem in set new parent (visual console). Ticket2765

This commit is contained in:
Arturo Gonzalez Diaz 2015-10-02 10:48:43 +02:00
parent 929913421d
commit 4525769ffc
1 changed files with 2 additions and 2 deletions

View File

@ -1459,7 +1459,7 @@ function updateDB_visual(type, idElement , values, event, top, left) {
return;
}
if (lines[i]['node_begin'] == idElement) {
if (lines[i]['node_end'] == idElement) {
found = true;
if (values['parent'] == 0) {
//Erased the line