-
1. We changed the parameters of the drag event in the draggable widget,
you need to find all places in your project where this event is in use and change the code to use the new parameters.
version 1.8.x code
$('selector').draggable({
drag: function (e, offset, mousePosition) {
offset.top
offset.left
mousePosition.top
mousePosition.left
}
});
version 1.9.x code
$('selector').draggable({
drag: function (e, newPosition, mousePosition) {
newPosition.top
newPosition.left
mousePosition.x
mousePosition.y
}
});
-
2. We changed the mousePosition parameter in start event for the draggable widget,
you need to find all places in your project where this event is in use and change the code to use the new mousePosition parameter.
version 1.8.x code
$('selector').draggable({
start: function (e, mousePosition) {
mousePosition.top
mousePosition.left
}
});
version 1.9.x code
$('selector').draggable({
start: function (e, nmousePosition) {
mousePosition.x
mousePosition.y
}
});
-
3. We changed the mousePosition parameter in stop event for the draggable widget,
you need to find all places in your project where this event is in use and change the code to use the new mousePosition parameter.
version 1.8.x code
$('selector').draggable({
stop: function (e, mousePosition) {
mousePosition.top
mousePosition.left
}
});
version 1.9.x code
$('selector').draggable({
stop: function (e, nmousePosition) {
mousePosition.x
mousePosition.y
}
});