hqm | 1 Apr 2008 05:15
Favicon

r8509 - in openlaszlo/trunk/WEB-INF/lps/lfc: core views

Author: hqm
Date: 2008-03-31 20:15:13 -0700 (Mon, 31 Mar 2008)
New Revision: 8509

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
Log:
Change 20080331-hqm-1 by hqm@... on 2008-03-31 23:13:52 EDT
    in /Users/hqm/openlaszlo/trunk4
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: remove argument from LzNode.destroy calls

New Features:

Bugs Fixed:

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ missed a couple of these callers, turned up when the state test tried to remove the state

Tests:

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs	2008-04-01 03:12:32 UTC (rev 8508)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs	2008-04-01 03:15:13 UTC (rev 8509)
 <at>  <at>  -1963,7 +1963,7  <at>  <at> 
     //remove this and all subnodes
     if (this.subnodes != null) {
         for (var i = this.subnodes.length -1; i >=0 ; i-- ){
-            this.subnodes[i].destroy( true );
+            this.subnodes[i].destroy( );
         }
     }

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs	2008-04-01 03:12:32 UTC (rev 8508)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloView.lzs	2008-04-01 03:15:13 UTC (rev 8509)
 <at>  <at>  -1270,7 +1270,7  <at>  <at> 
         }
     }

-    super.destroy.apply(this, arguments);
+    super.destroy.apply(this);

     if (this.sprite) { this.sprite.destroy() }

Gmane