]> source.dussan.org Git - jquery-ui.git/commitdiff
Sortable: modified the contents of placeholder to a single " ". Fixed #8135...
authorBertjh <bertjh@hotmail.com>
Fri, 24 Feb 2012 09:24:25 +0000 (10:24 +0100)
committerScott González <scott.gonzalez@gmail.com>
Fri, 24 Feb 2012 13:39:19 +0000 (08:39 -0500)
(cherry picked from commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2)

ui/jquery.ui.sortable.js

index 5bcc1ba5cffecc9d7288a417de95dbc5a6790bd7..53c4e7a15b1665fbfb64c7e770e1a962f05cb3d7 100644 (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")[0];
+                                               .removeClass("ui-sortable-helper").html("&nbsp;")[0];
 
                                        if(!className)
                                                el.style.visibility = "hidden";