mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-05 22:34:58 -05:00
sortable: checked inputs are not unchecked anymore after drag start (fixes #3466)
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user