Fix missing drag helper

This commit is contained in:
Nathan Gray 2013-11-06 23:12:32 +00:00
parent f33862b8b6
commit aa47e50f97

View File

@ -187,7 +187,10 @@ function egwDragActionImplementation()
.on("drag", function(e) { .on("drag", function(e) {
// Remove the helper, it has been copied into the dataTransfer object now // Remove the helper, it has been copied into the dataTransfer object now
// Hopefully user didn't notice it... // Hopefully user didn't notice it...
ai.helper.remove(); if(e.dataTransfer != null)
{
ai.helper.remove();
}
}); });
} }
$j(node).draggable( $j(node).draggable(