Permalink
Browse files

Doh. Looks like 1.4.2 was not cleaning elements correctly. My bad.

  • Loading branch information...
1 parent bb22a20 commit a1adf85c79da71d8831bd40693bdcf016ec22d6e @ibolmo ibolmo committed Dec 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Element/Element.js
@@ -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){
@@ -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;

0 comments on commit a1adf85

Please sign in to comment.