r2166 - trunk/demos/sortable

r2166 - trunk/demos/sortable


Author: rdworth
Date: Mon Mar 2 04:10:59 2009
New Revision: 2166
Modified:
trunk/demos/sortable/default.html
trunk/demos/sortable/display-grid.html
trunk/demos/sortable/empty-lists.html
trunk/demos/sortable/placeholder.html
trunk/demos/sortable/portlets.html
Log:
demos: sortable - disableSelection on sortable elements
Modified: trunk/demos/sortable/default.html
==============================================================================
--- trunk/demos/sortable/default.html    (original)
+++ trunk/demos/sortable/default.html    Mon Mar 2 04:10:59 2009
@@ -15,6 +15,7 @@
    <script type="text/javascript">
    $(function() {
        $("#sortable").sortable();
+        $("#sortable").disableSelection();
    });
    </script>
</head>
Modified: trunk/demos/sortable/display-grid.html
==============================================================================
--- trunk/demos/sortable/display-grid.html    (original)
+++ trunk/demos/sortable/display-grid.html    Mon Mar 2 04:10:59 2009
@@ -14,6 +14,7 @@
    <script type="text/javascript">
    $(function() {
        $("#sortable").sortable();
+        $("#sortable").disableSelection();
    });
    </script>
</head>
Modified: trunk/demos/sortable/empty-lists.html
==============================================================================
--- trunk/demos/sortable/empty-lists.html    (original)
+++ trunk/demos/sortable/empty-lists.html    Mon Mar 2 04:10:59 2009
@@ -21,6 +21,8 @@
            connectWith: 'ul',
            dropOnEmpty: false
        });
+
+        $("#sortable1, #sortable2, #sortable3").disableSelection();
    });
    </script>
</head>
Modified: trunk/demos/sortable/placeholder.html
==============================================================================
--- trunk/demos/sortable/placeholder.html    (original)
+++ trunk/demos/sortable/placeholder.html    Mon Mar 2 04:10:59 2009
@@ -18,6 +18,7 @@
        $("#sortable").sortable({
            placeholder: 'ui-state-highlight'
        });
+        $("#sortable").disableSelection();
    });
    </script>
</head>
Modified: trunk/demos/sortable/portlets.html
==============================================================================
--- trunk/demos/sortable/portlets.html    (original)
+++ trunk/demos/sortable/portlets.html    Mon Mar 2 04:10:59 2009
@@ -33,6 +33,8 @@
            $(this).toggleClass("ui-icon-minusthick");
            $(this).parents(".portlet:first").find(".portlet-content").toggle();
        });
+
+        $(".column").disableSelection();
    });
    </script>
</head>