Commit 8e6966a8 authored by bbaer's avatar bbaer
Browse files

Merge remote-tracking branch 'origin/dragAndDrop' into dragAndDrop

parents 04680880 191e32c2
......@@ -1393,9 +1393,20 @@ EOF;
private function getDragAndDropCode() {
$code = <<<EOF
<script type = "text/javascript" >
var dragi = new QfqNS . DragAndDrop($('.qfq-dnd-sort'));
dragi . makeSortable();
<script type="text/javascript">
$(function () {
$('.qfq-dnd-sort').each(function() {
var dndObject = new QfqNS.DragAndDrop($(this));
dndObject.makeSortable();
});
var zoni = new QfqNS.DragAndDrop($('.qfq-dnd'));
zoni.makeBasketCase();
});
</script>
EOF;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment