When I moved to jQuery 1.3.1 and UI 1.6rc5, draggable didn't work
completely anymore. Objects are still getting dragged around, and the
"drag" and "stop" and "start" methods are being called, but the events
passed to them aren't complete. The biggest irk for me is that they
don't have pageX and pageY properties anymore. I can get at the
originalEvent object and it has everything, but not on the event
object passed through jQuery.
Here's the example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Test</title>
<script src="
http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script src="/javascripts/jquery.ui.1.6.min.js"></script>
</head>
<body>
<script>
$(document).ready(function() {
$("#bob").draggable({
drag: function(event, ui) {
console.log(event.pageX + " " + event.pageY);
}
});
});
</script>
<div id="bob">asgaweg</div>
</body>
</html>
Is anybody else seeing this as well?
-Brian