diff options
author | Bertjh <bertjh@hotmail.com> | 2012-02-24 10:24:25 +0100 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-02-24 08:39:19 -0500 |
commit | f0b7130a5459d9f34b1e05ad6306d3909131bd8c (patch) | |
tree | eca0fa130335f1a73e3d0504587930b551a63aff | |
parent | 35e291937591326fdc909f88eb948272c98edf39 (diff) | |
download | jquery-ui-f0b7130a5459d9f34b1e05ad6306d3909131bd8c.tar.gz jquery-ui-f0b7130a5459d9f34b1e05ad6306d3909131bd8c.zip |
Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down.
(cherry picked from commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2)
-rw-r--r-- | ui/jquery.ui.sortable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index 5bcc1ba5c..53c4e7a15 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -661,7 +661,7 @@ $.widget("ui.sortable", $.ui.mouse, { var el = $(document.createElement(self.currentItem[0].nodeName)) .addClass(className || self.currentItem[0].className+" ui-sortable-placeholder") - .removeClass("ui-sortable-helper")[0]; + .removeClass("ui-sortable-helper").html(" ")[0]; if(!className) el.style.visibility = "hidden"; |