aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/sortable/sortable.html
diff options
context:
space:
mode:
authorNils Heuermann <nils@world-of-scripts.de>2014-10-31 14:24:29 +0100
committerScott González <scott.gonzalez@gmail.com>2015-02-24 09:36:12 -0500
commit962e05dc1d0a51a7458bc44725417aa3462cd89a (patch)
tree01a5bc392ee4b4c5bb73f606304b516b8c104665 /tests/unit/sortable/sortable.html
parentd95c23ae6c44e7d82289bb0a82eb1a7840a7a5f2 (diff)
downloadjquery-ui-962e05dc1d0a51a7458bc44725417aa3462cd89a.tar.gz
jquery-ui-962e05dc1d0a51a7458bc44725417aa3462cd89a.zip
Sortable: Append a tr with td to the placeholder of tbody elements
When sorting tbody elements of a table the placeholder needs to have a tr with td elements to be visible. The appended elements are created in the same way as for the placeholder of a tr element; the first row of the sorted tbody is used for that. Fixes #10682 Closes gh-1380
Diffstat (limited to 'tests/unit/sortable/sortable.html')
-rw-r--r--tests/unit/sortable/sortable.html52
1 files changed, 44 insertions, 8 deletions
diff --git a/tests/unit/sortable/sortable.html b/tests/unit/sortable/sortable.html
index 3edc999b7..f13b895b8 100644
--- a/tests/unit/sortable/sortable.html
+++ b/tests/unit/sortable/sortable.html
@@ -74,20 +74,56 @@
<table id="sortable-table">
<tbody>
<tr>
- <td>1</td>
- <td>2</td>
+ <td>1.1</td>
+ <td>1.2</td>
</tr>
<tr>
- <td>3</td>
- <td>4</td>
+ <td>1.3</td>
+ <td>1.4</td>
</tr>
<tr>
- <td>5</td>
- <td>6</td>
+ <td>1.5</td>
+ <td>1.6</td>
</tr>
<tr>
- <td>7</td>
- <td>8</td>
+ <td>1.7</td>
+ <td>1.8</td>
+ </tr>
+ </tbody>
+ <tbody>
+ <tr>
+ <td>2.1</td>
+ <td>2.2</td>
+ </tr>
+ <tr>
+ <td>2.3</td>
+ <td>2.4</td>
+ </tr>
+ <tr>
+ <td>2.5</td>
+ <td>2.6</td>
+ </tr>
+ <tr>
+ <td>2.7</td>
+ <td>2.8</td>
+ </tr>
+ </tbody>
+ <tbody>
+ <tr>
+ <td>3.1</td>
+ <td>3.2</td>
+ </tr>
+ <tr>
+ <td>3.3</td>
+ <td>3.4</td>
+ </tr>
+ <tr>
+ <td>3.5</td>
+ <td>3.6</td>
+ </tr>
+ <tr>
+ <td>3.7</td>
+ <td>3.8</td>
</tr>
</tbody>
</table>