Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."

This reverts commit b6e1f25ab8.
(cherry picked from commit b38dd26da0)
This commit is contained in:
Scott González 2012-04-30 10:38:51 -04:00
parent 3752211565
commit 1ffafe65b0

View File

@ -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").html(" ")[0];
.removeClass("ui-sortable-helper")[0];
if(!className)
el.style.visibility = "hidden";