Skip to content

Commit

Permalink
Doh. Looks like 1.4.2 was not cleaning elements correctly. My bad.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolmo committed Dec 19, 2011
1 parent bb22a20 commit a1adf85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Element/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ var get = function(uid){
};

var clean = function(item){
var uid = item.uid;
var uid = item.uniqueNumber;
if (item.removeEvents) item.removeEvents();
if (item.clearAttributes) item.clearAttributes();
if (uid != null){
Expand Down Expand Up @@ -783,7 +783,7 @@ Element.implement({
if (node.clearAttributes){
node.clearAttributes();
node.mergeAttributes(element);
node.removeAttribute('uid');
node.removeAttribute('uniqueNumber');
if (node.options){
var no = node.options, eo = element.options;
for (var j = no.length; j--;) no[j].selected = eo[j].selected;
Expand Down

0 comments on commit a1adf85

Please sign in to comment.