From: Scott González Date: Sun, 1 Feb 2009 01:06:42 +0000 (+0000) Subject: Sortable demos: Updated all uses of connectWith to use a string instead of an array... X-Git-Tag: 1.6~128 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5c155719a81e18f4cc88f2de2388bc42c6732db5;p=jquery-ui.git Sortable demos: Updated all uses of connectWith to use a string instead of an array (array is deprecated). --- diff --git a/demos/sortable/connect-lists.html b/demos/sortable/connect-lists.html index e0f0c40f3..3bf0ea732 100644 --- a/demos/sortable/connect-lists.html +++ b/demos/sortable/connect-lists.html @@ -14,7 +14,7 @@ @@ -43,10 +43,10 @@

- Sort items from one list into another and vice versa, by passing an array into + Sort items from one list into another and vice versa, by passing a selector into the connectWith option. The simplest way to do this is to group all related lists with a CSS class, and then pass that class into the - sortable function using array notation (i.e., connectWith: ['.myclass']). + sortable function (i.e., connectWith: '.myclass').

diff --git a/demos/sortable/empty-lists.html b/demos/sortable/empty-lists.html index 660d6d91b..daf41e1af 100644 --- a/demos/sortable/empty-lists.html +++ b/demos/sortable/empty-lists.html @@ -14,11 +14,11 @@