aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-03-02 12:10:59 +0000
committerRichard Worth <rdworth@gmail.com>2009-03-02 12:10:59 +0000
commitb8f1e92817affa5eca40f2f03e17c3a7747ce414 (patch)
tree5780ff3d6db113b904ea104926bfc8b7a87a731e /demos/sortable
parent1395a6047b7717978076b6007a2d248144c1ed4e (diff)
downloadjquery-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.html1
-rw-r--r--demos/sortable/display-grid.html1
-rw-r--r--demos/sortable/empty-lists.html2
-rw-r--r--demos/sortable/placeholder.html1
-rw-r--r--demos/sortable/portlets.html2
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>