code for custom drag modifier (in draggable test cases: circle dragging)

code for custom drag modifier (in draggable test cases: circle dragging)


hi,
I already posted in jQuery English ("draggable: manually reset
position of element by drag callback handler" - Url:
http://groups.google.de/group/jquery-en/browse_thread/thread/2f19a5f4fb8f94aa/#)
but did not get any response (maybe because it was the wrong group and
likely nobody understood my cluttered posting). At least I found out,
that it should be possible to accomplish what I want because there is
an example in the jQuery ui draggable test cases ("code for custom
drag modifier"). Unfortunately the example doesn't work in current svn
trunk (revision 3377).
It seems like after calling (ui.draggable.js Line 171):
var nv = $(this.element).triggerHandler("drag", [e,
that.prepareCallbackObj(this)], o.drag);
nv is always undefined. For the circle dragging example it should
contain something like (draggable.html Lines 359-362):
return {
    left: radius * Math.cos(angle) + centerx,
    top: radius * Math.sin(angle) + centery
}
Does someone know how to fix this?
TIA
Andre