Skip to content
Permalink
Browse files

sortable: checked inputs are not unchecked anymore after drag start (…

…fixes #3466)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Nov 3, 2008
1 parent 04688e3 commit 1045a83f49a5f7938e4c81ee2924f3fbc697245b
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.sortable.js
@@ -345,7 +345,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
if(!className) {
el.style.visibility = "hidden";
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);
};

0 comments on commit 1045a83

Please sign in to comment.
You can’t perform that action at this time.