Skip to content
Browse files

Merge pull request #2176 from ibolmo/hot-fix-uid-remnants

Doh. Looks like 1.4.2 was not cleaning elements correctly. My bad.
  • Loading branch information...
2 parents 71cef50 + a1adf85 commit ff87c108b60b2919a2e4a2f412042bfd78d96f60 @ibolmo ibolmo committed Dec 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Element/Element.js
View
4 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 ff87c10

Please sign in to comment.
Something went wrong with that request. Please try again.