From cef66ee99f3924f5f74ac8c3f3190bfd125bd845 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 16 Sep 2008 12:40:48 +0000 Subject: sortable: Fixed the floating functional demo, implemented forcePlaceholderSize --- demos/functional/templates/ui.sortable.ex3.html | 16 ++++++++++------ demos/functional/templates/ui.sortable.html | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'demos/functional') diff --git a/demos/functional/templates/ui.sortable.ex3.html b/demos/functional/templates/ui.sortable.ex3.html index 1d460fd01..e6fe28ee7 100644 --- a/demos/functional/templates/ui.sortable.ex3.html +++ b/demos/functional/templates/ui.sortable.ex3.html @@ -3,13 +3,17 @@
- +
    -
  • Jack
  • -
  • John
  • -
  • Marry
  • -
  • Claire
  • -
  • Daniel
  • +
  • Jack
  • +
  • John
  • +
  • Marry
  • +
  • Claire
  • +
  • Daniel
diff --git a/demos/functional/templates/ui.sortable.html b/demos/functional/templates/ui.sortable.html index 55ea4b7a6..79cfadbfb 100644 --- a/demos/functional/templates/ui.sortable.html +++ b/demos/functional/templates/ui.sortable.html @@ -38,7 +38,7 @@ options: [ { desc: 'Floating, with defined placeholder class', - source: '$("#placeholderSortable").sortable({ placeholder: "ui-selected", revert: true });' + source: '$("#placeholderSortable").sortable({ placeholder: "ui-selected", forcePlaceholderSize: true, revert: true });' } ] } -- cgit v1.2.3