diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-11-03 14:58:21 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-11-03 14:58:21 +0000 |
commit | 1045a83f49a5f7938e4c81ee2924f3fbc697245b (patch) | |
tree | e551dfdf2f83253428cf97816fc41aa89a46be2c /ui/ui.sortable.js | |
parent | 04688e3eee7e68f056a38c3bbfc3870ac49bf772 (diff) | |
download | jquery-ui-1045a83f49a5f7938e4c81ee2924f3fbc697245b.tar.gz jquery-ui-1045a83f49a5f7938e4c81ee2924f3fbc697245b.zip |
sortable: checked inputs are not unchecked anymore after drag start (fixes #3466)
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r-- | ui/ui.sortable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js index f9777ddc5..4c165d342 100644 --- a/ui/ui.sortable.js +++ b/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); }; |