Update of /cvsroot/thyapi/thyapi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3882
Modified Files:
.sync_svn2cvs dynapi.js
Log Message:
Commiting file additions and modification from SVN revision 1886 to 1887...
Changes made by rpereira on 2005-09-02 05:02:13 +0200 (Fri, 02 Sep 2005) corresponding to SVN revision 1887 with message:
- Trying to add a remove all code on page unload
Index: .sync_svn2cvs
===================================================================
RCS file: /cvsroot/thyapi/thyapi/.sync_svn2cvs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** .sync_svn2cvs 1 Sep 2005 19:16:42 -0000 1.2
--- .sync_svn2cvs 2 Sep 2005 02:44:43 -0000 1.3
***************
*** 1 ****
! 1884
\ No newline at end of file
--- 1 ----
! 1887
\ No newline at end of file
Index: dynapi.js
===================================================================
RCS file: /cvsroot/thyapi/thyapi/dynapi.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** dynapi.js 1 Sep 2005 18:15:36 -0000 1.4
--- dynapi.js 2 Sep 2005 02:44:43 -0000 1.5
***************
*** 108,116 ****
};
f.onunload = function() {
! for (var i=0;i<o._unloadfn.length;i++) o._unloadfn[i]();
if (o.document) {
o.document._destroy();
o.document = null;
}
};
};
--- 108,126 ----
};
f.onunload = function() {
! var i;
! for (i=0;i<o._unloadfn.length;i++) o._unloadfn[i]();
if (o.document) {
o.document._destroy();
o.document = null;
}
+ if (DynObject.all)
+ {
+ for (i in all)
+ {
+ DynObject.all[i] = null;
+ }
+
+ delete DynObject.all;
+ }
};
};
|