sortable: checked inputs are not unchecked anymore after drag start (fixes #3466)

This commit is contained in:
Paul Bakaus 2008-11-03 14:58:21 +00:00
parent 04688e3eee
commit 1045a83f49

View File

@ -345,7 +345,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
if(!className) { if(!className) {
el.style.visibility = "hidden"; el.style.visibility = "hidden";
document.body.appendChild(el); document.body.appendChild(el);
el.innerHTML = self.currentItem[0].innerHTML; el.innerHTML = self.currentItem[0].innerHTML.replace(/name\=\"[^\"\']+\"/g, ''); //Name attributes are removed, otherwice causes elements to be unchecked
document.body.removeChild(el); document.body.removeChild(el);
}; };