Hi,
I discovered that when you have a Draggable jQuery object and then clone that object, you can not make the cloned object draggable (nor is it draggable automatically by the cloning process).
At least, not in IE.
This is caused by a test in idrag.js around line 495, that tests for the isDraggable property of the object, and returns when it is already draggable. When you comment the 'return' statement the problem is solved (though there may be side-effects, I did not test that).
These are the lines concerned:
return this.each(
function()
{
if (this.isDraggable
!jQuery.iUtil)
return // this is the 'malicious' line
if (window.ActiveXObject) {
this.onselectstart = function(){return false;};
this.ondragstart = function(){return false;};
}
BTW In Firefox everything works ok. As usual.
Attachments
Change History
Download in other formats:
|