Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv12257
Modified Files:
dynlayer.js dyndocument.js
Log Message:
Fixed calls to createElement
Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** dynlayer.js 2001/02/24 13:37:16 1.29
--- dynlayer.js 2001/02/24 21:48:03 1.30
***************
*** 200,204 ****
DynAPI.removeFromArray(this.dyndoc.all,child,true);
DynLayer.unassigned[child.id]=child;
! DynLayer.deleteElement(child);
child.parent=null;
child.isChild=false;
--- 200,204 ----
DynAPI.removeFromArray(this.dyndoc.all,child,true);
DynLayer.unassigned[child.id]=child;
! child.deleteElement();
child.parent=null;
child.isChild=false;
***************
*** 217,221 ****
this.doc.recycled[this.doc.recycled.length]=child.elm;
}
! DynLayer.deleteElement(child);
child.parent=null;
child.isChild=false;
--- 217,221 ----
this.doc.recycled[this.doc.recycled.length]=child.elm;
}
! child.deleteElement(child);
child.parent=null;
child.isChild=false;
Index: dyndocument.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dyndocument.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** dyndocument.js 2001/01/20 21:43:33 1.7
--- dyndocument.js 2001/02/24 21:48:03 1.8
***************
*** 48,53 ****
}
for (var i=0; i<this.children.length; i++) {
! DynLayer.deleteElement(this.children[i]);
! DynLayer.createElement(this.children[i]);
}
};
--- 48,53 ----
}
for (var i=0; i<this.children.length; i++) {
! this.children[i].deleteElement();
! this.children[i].createElement();
}
};
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs