demos: sortable - disableSelection on sortable elements

This commit is contained in:
Richard Worth 2009-03-02 12:10:59 +00:00
parent 1395a6047b
commit b8f1e92817
5 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<script type="text/javascript">
$(function() {
$("#sortable").sortable();
$("#sortable").disableSelection();
});
</script>
</head>

View File

@ -14,6 +14,7 @@
<script type="text/javascript">
$(function() {
$("#sortable").sortable();
$("#sortable").disableSelection();
});
</script>
</head>

View File

@ -21,6 +21,8 @@
connectWith: 'ul',
dropOnEmpty: false
});
$("#sortable1, #sortable2, #sortable3").disableSelection();
});
</script>
</head>

View File

@ -18,6 +18,7 @@
$("#sortable").sortable({
placeholder: 'ui-state-highlight'
});
$("#sortable").disableSelection();
});
</script>
</head>

View File

@ -33,6 +33,8 @@
$(this).toggleClass("ui-icon-minusthick");
$(this).parents(".portlet:first").find(".portlet-content").toggle();
});
$(".column").disableSelection();
});
</script>
</head>