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

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