diff options
author | Richard Worth <rdworth@gmail.com> | 2009-03-02 12:10:59 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-03-02 12:10:59 +0000 |
commit | b8f1e92817affa5eca40f2f03e17c3a7747ce414 (patch) | |
tree | 5780ff3d6db113b904ea104926bfc8b7a87a731e /demos/sortable | |
parent | 1395a6047b7717978076b6007a2d248144c1ed4e (diff) | |
download | jquery-ui-b8f1e92817affa5eca40f2f03e17c3a7747ce414.tar.gz jquery-ui-b8f1e92817affa5eca40f2f03e17c3a7747ce414.zip |
demos: sortable - disableSelection on sortable elements
Diffstat (limited to 'demos/sortable')
-rw-r--r-- | demos/sortable/default.html | 1 | ||||
-rw-r--r-- | demos/sortable/display-grid.html | 1 | ||||
-rw-r--r-- | demos/sortable/empty-lists.html | 2 | ||||
-rw-r--r-- | demos/sortable/placeholder.html | 1 | ||||
-rw-r--r-- | demos/sortable/portlets.html | 2 |
5 files changed, 7 insertions, 0 deletions
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 @@ <script type="text/javascript"> $(function() { $("#sortable").sortable(); + $("#sortable").disableSelection(); }); </script> </head> 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 @@ <script type="text/javascript"> $(function() { $("#sortable").sortable(); + $("#sortable").disableSelection(); }); </script> </head> 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(); }); </script> </head> 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(); }); </script> </head> 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(); }); </script> </head> |