:Merge branch 'fix_zone_edit' into storageareas
This commit is contained in:
commit
3914e0b394
|
@ -413,7 +413,6 @@ function updateX( index )
|
||||||
zone['Points'][index].x = x;
|
zone['Points'][index].x = x;
|
||||||
var Point = $('zonePoly').points.getItem(index);
|
var Point = $('zonePoly').points.getItem(index);
|
||||||
Point.x = x;
|
Point.x = x;
|
||||||
Point.y = y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateY( index )
|
function updateY( index )
|
||||||
|
@ -426,7 +425,6 @@ function updateY( index )
|
||||||
point.setStyle( 'top', y+'px' );
|
point.setStyle( 'top', y+'px' );
|
||||||
zone['Points'][index].y = y;
|
zone['Points'][index].y = y;
|
||||||
var Point = $('zonePoly').points.getItem(index);
|
var Point = $('zonePoly').points.getItem(index);
|
||||||
Point.x = x;
|
|
||||||
Point.y = y;
|
Point.y = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue