]> source.dussan.org Git - jquery-ui.git/commitdiff
Demos: Add missing disable-selection dependency in sortable-ish demos
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 Sep 2015 11:08:09 +0000 (13:08 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 Sep 2015 11:13:42 +0000 (13:13 +0200)
Ref 4916487440b0c087e6e5996522cf478af26df591
Ref #9647

demos/draggable/handle.html
demos/draggable/sortable.html
demos/sortable/connect-lists.html
demos/sortable/default.html
demos/sortable/display-grid.html
demos/sortable/empty-lists.html
demos/sortable/items.html
demos/sortable/placeholder.html

index ae8983b8553e7988e1a8eaf093fb9e02d6caafc7..2946d3d68eec56aa537cebc125fe258b0a8f5714 100644 (file)
@@ -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();
index 9f07c47525538e8d2d3333679db7a7f7cde7de13..278a2e8c8b9055e7110973d8c513af839fda61e6 100644 (file)
@@ -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
                });
index 4461e736433826ade8984d596a7e04fcf32d253c..d1dc28366fbd48e6f789308b9d5c49741d94ef93 100644 (file)
@@ -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();
index 9b225e897cff1e9406c17b07b96594ad770722ac..6e4e07dac5cc4e99db73c9d9e50e016c5c76c12d 100644 (file)
@@ -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>
index 8f0f6ae357ff74893031bf3a591b71750dc36b76..3325a2321511bb7d748725f1ac4d7b7dc2201591 100644 (file)
@@ -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>
index fa515b3778c0d53c270fe70b33cdab397aabcb22..5cdfcb1f1648c492c102a58269bd5b4bb474baec 100644 (file)
@@ -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"
                });
index 21a7230d51a9c1f74243d8f4aeb79b38dd71b35a..182affd0e3c592fb45b385875ea203c8b39f4920 100644 (file)
@@ -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)"
                });
index 7a17e6914406ae06aaa733423a409e112aea8f76..068f9f900e8d1cdaa46ce01cd5fde8a55b67d3a8 100644 (file)
@@ -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"
                });