mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
demos: sortable - disableSelection on sortable elements
This commit is contained in:
parent
1395a6047b
commit
b8f1e92817
@ -15,6 +15,7 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#sortable").sortable();
|
||||
$("#sortable").disableSelection();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#sortable").sortable();
|
||||
$("#sortable").disableSelection();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
@ -21,6 +21,8 @@
|
||||
connectWith: 'ul',
|
||||
dropOnEmpty: false
|
||||
});
|
||||
|
||||
$("#sortable1, #sortable2, #sortable3").disableSelection();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
@ -18,6 +18,7 @@
|
||||
$("#sortable").sortable({
|
||||
placeholder: 'ui-state-highlight'
|
||||
});
|
||||
$("#sortable").disableSelection();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
@ -33,6 +33,8 @@
|
||||
$(this).toggleClass("ui-icon-minusthick");
|
||||
$(this).parents(".portlet:first").find(".portlet-content").toggle();
|
||||
});
|
||||
|
||||
$(".column").disableSelection();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user