From b8f1e92817affa5eca40f2f03e17c3a7747ce414 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 2 Mar 2009 12:10:59 +0000 Subject: demos: sortable - disableSelection on sortable elements --- demos/sortable/default.html | 1 + demos/sortable/display-grid.html | 1 + demos/sortable/empty-lists.html | 2 ++ demos/sortable/placeholder.html | 1 + demos/sortable/portlets.html | 2 ++ 5 files changed, 7 insertions(+) diff --git a/demos/sortable/default.html b/demos/sortable/default.html index 03f93cd63..6df9ec13b 100644 --- a/demos/sortable/default.html +++ b/demos/sortable/default.html @@ -15,6 +15,7 @@ diff --git a/demos/sortable/display-grid.html b/demos/sortable/display-grid.html index 13466713e..e10cd9960 100644 --- a/demos/sortable/display-grid.html +++ b/demos/sortable/display-grid.html @@ -14,6 +14,7 @@ diff --git a/demos/sortable/empty-lists.html b/demos/sortable/empty-lists.html index 343f467c9..1886b8e00 100644 --- a/demos/sortable/empty-lists.html +++ b/demos/sortable/empty-lists.html @@ -21,6 +21,8 @@ connectWith: 'ul', dropOnEmpty: false }); + + $("#sortable1, #sortable2, #sortable3").disableSelection(); }); diff --git a/demos/sortable/placeholder.html b/demos/sortable/placeholder.html index 1ab2f3bda..565eb0bff 100644 --- a/demos/sortable/placeholder.html +++ b/demos/sortable/placeholder.html @@ -18,6 +18,7 @@ $("#sortable").sortable({ placeholder: 'ui-state-highlight' }); + $("#sortable").disableSelection(); }); diff --git a/demos/sortable/portlets.html b/demos/sortable/portlets.html index 494b9e946..5430989c6 100644 --- a/demos/sortable/portlets.html +++ b/demos/sortable/portlets.html @@ -33,6 +33,8 @@ $(this).toggleClass("ui-icon-minusthick"); $(this).parents(".portlet:first").find(".portlet-content").toggle(); }); + + $(".column").disableSelection(); }); -- cgit v1.2.3