Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit a1adf85c79da71d8831bd40693bdcf016ec22d6e 1 parent bb22a20
@ibolmo ibolmo authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.