mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
sortable: checked inputs are not unchecked anymore after drag start (fixes #3466)
This commit is contained in:
parent
04688e3eee
commit
1045a83f49
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user