ui.dialog drag event breaking change in 1.8 rc3???
Why can't I use the reference to ui anymore??
- $('#divItemSelector').dialog({
- autoOpen: false,
- bgiframe: true,
- modal: false,
- width: 250,
- position: ['left', 'center'],
- drag: function(event, ui) {
- selLeft = Math.floor($(this).position.left); //v1.8
- selTop = Math.floor($(this).position.top); //v1.8
- //selLeft = Math.floor(ui.position.left); //v1.7
- //selTop = Math.floor(ui.position.top); //v1.7
- }
- });