aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-21 13:08:09 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2015-09-21 13:13:42 +0200
commitcfe91fd9e2852e86d7f9d9dc73aa187bd7535174 (patch)
tree5a953828c92adb5ecf5f225a6d8464c6b8fcfd93 /demos
parentce5017843036151d545fba76062655fda69eac62 (diff)
downloadjquery-ui-cfe91fd9e2852e86d7f9d9dc73aa187bd7535174.tar.gz
jquery-ui-cfe91fd9e2852e86d7f9d9dc73aa187bd7535174.zip
Demos: Add missing disable-selection dependency in sortable-ish demos
Ref 4916487440b0c087e6e5996522cf478af26df591 Ref #9647
Diffstat (limited to 'demos')
-rw-r--r--demos/draggable/handle.html2
-rw-r--r--demos/draggable/sortable.html2
-rw-r--r--demos/sortable/connect-lists.html2
-rw-r--r--demos/sortable/default.html2
-rw-r--r--demos/sortable/display-grid.html2
-rw-r--r--demos/sortable/empty-lists.html2
-rw-r--r--demos/sortable/items.html2
-rw-r--r--demos/sortable/placeholder.html2
8 files changed, 8 insertions, 8 deletions
diff --git a/demos/draggable/handle.html b/demos/draggable/handle.html
index ae8983b85..2946d3d68 100644
--- a/demos/draggable/handle.html
+++ b/demos/draggable/handle.html
@@ -10,7 +10,7 @@
#draggable p { cursor: move; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#draggable" ).draggable({ handle: "p" });
$( "#draggable2" ).draggable({ cancel: "p.ui-widget-header" });
$( "div, p" ).disableSelection();
diff --git a/demos/draggable/sortable.html b/demos/draggable/sortable.html
index 9f07c4752..278a2e8c8 100644
--- a/demos/draggable/sortable.html
+++ b/demos/draggable/sortable.html
@@ -10,7 +10,7 @@
li { margin: 5px; padding: 5px; width: 150px; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js" data-modules="sortable">
+ <script src="../bootstrap.js" data-modules="sortable disable-selection">
$( "#sortable" ).sortable({
revert: true
});
diff --git a/demos/sortable/connect-lists.html b/demos/sortable/connect-lists.html
index 4461e7364..d1dc28366 100644
--- a/demos/sortable/connect-lists.html
+++ b/demos/sortable/connect-lists.html
@@ -24,7 +24,7 @@
}
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#sortable1, #sortable2" ).sortable({
connectWith: ".connectedSortable"
}).disableSelection();
diff --git a/demos/sortable/default.html b/demos/sortable/default.html
index 9b225e897..6e4e07dac 100644
--- a/demos/sortable/default.html
+++ b/demos/sortable/default.html
@@ -11,7 +11,7 @@
#sortable li span { position: absolute; margin-left: -1.3em; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#sortable" ).sortable();
$( "#sortable" ).disableSelection();
</script>
diff --git a/demos/sortable/display-grid.html b/demos/sortable/display-grid.html
index 8f0f6ae35..3325a2321 100644
--- a/demos/sortable/display-grid.html
+++ b/demos/sortable/display-grid.html
@@ -10,7 +10,7 @@
#sortable li { margin: 3px 3px 3px 0; padding: 1px; float: left; width: 100px; height: 90px; font-size: 4em; text-align: center; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#sortable" ).sortable();
$( "#sortable" ).disableSelection();
</script>
diff --git a/demos/sortable/empty-lists.html b/demos/sortable/empty-lists.html
index fa515b377..5cdfcb1f1 100644
--- a/demos/sortable/empty-lists.html
+++ b/demos/sortable/empty-lists.html
@@ -10,7 +10,7 @@
#sortable1 li, #sortable2 li, #sortable3 li { margin: 5px; padding: 5px; font-size: 1.2em; width: 120px; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "ul.droptrue" ).sortable({
connectWith: "ul"
});
diff --git a/demos/sortable/items.html b/demos/sortable/items.html
index 21a7230d5..182affd0e 100644
--- a/demos/sortable/items.html
+++ b/demos/sortable/items.html
@@ -10,7 +10,7 @@
#sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 3px; width: 90%; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#sortable1" ).sortable({
items: "li:not(.ui-state-disabled)"
});
diff --git a/demos/sortable/placeholder.html b/demos/sortable/placeholder.html
index 7a17e6914..068f9f900 100644
--- a/demos/sortable/placeholder.html
+++ b/demos/sortable/placeholder.html
@@ -12,7 +12,7 @@
.ui-state-highlight { height: 1.5em; line-height: 1.2em; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#sortable" ).sortable({
placeholder: "ui-state-highlight"
});