From 1045a83f49a5f7938e4c81ee2924f3fbc697245b Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Mon, 3 Nov 2008 14:58:21 +0000 Subject: [PATCH] sortable: checked inputs are not unchecked anymore after drag start (fixes #3466) --- ui/ui.sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; -- 2.39.5