Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv21659/lib/dynapi/api

Modified Files:
        dynlayer.js 
Log Message:
Parameters for resizefix are removed

Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -r1.52 -r1.53
*** dynlayer.js 2001/05/31 10:17:50     1.52
--- dynlayer.js 2001/06/03 01:04:29     1.53
***************
*** 26,33 ****
  };
  DynLayer.prototype = new DynObject();
  DynLayer.prototype.isDynLayer = true;
! DynLayer.prototype.specificCreate=function(recreate) {
!       if (!recreate&&(this.created||!this.parent||this.elm!=null)) return null;
! 
        if (is.ns6) {
                var 
parentElement=(this.parent.isDynLayer)?this.parent.elm:this.parent.doc.body;
--- 26,33 ----
  };
  DynLayer.prototype = new DynObject();
+ DynLayer.recreate = false;
  DynLayer.prototype.isDynLayer = true;
! DynLayer.prototype.specificCreate=function() {
!       if (!DynLayer.recreate&&(this.created||!this.parent||this.elm!=null)) return 
null;
        if (is.ns6) {
                var 
parentElement=(this.parent.isDynLayer)?this.parent.elm:this.parent.doc.body;
***************
*** 48,56 ****
        } else if (is.ns4) {
                var recycled=this.parent.doc.recycled;
!               if (recycled && recycled.length>0 && !recreate) {
                        this.elm=recycled[0];
                        Methods.removeFromArray(recycled,recycled[0]);
                } else {
!                       if (recreate) this.parent.doc.recycled=[];
                        this.elm=new Layer(this.w,this.parent.elm);
                        this.elm.captureEvents(Event.LOAD);
--- 48,56 ----
        } else if (is.ns4) {
                var recycled=this.parent.doc.recycled;
!               if (recycled && recycled.length>0 && !DynLayer.recreate) {
                        this.elm=recycled[0];
                        Methods.removeFromArray(recycled,recycled[0]);
                } else {
!                       if (DynLayer.recreate) this.parent.doc.recycled=[];
                        this.elm=new Layer(this.w,this.parent.elm);
                        this.elm.captureEvents(Event.LOAD);


_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs

Reply via email to