Author: jcrowley
Date: 2007-08-01 01:07:55 -0700 (Wed, 01 Aug 2007)
New Revision: 5891
Modified:
openlaszlo/branches/legals/lps/components/base/baseformitem.lzx
Log:
This should've been checked in a long time ago along with baseform.lzx, but
something went wrong. This was approved in January by Tucker, but somehow this
file didn't get included in the commit. Fixing that now.
Modified: openlaszlo/branches/legals/lps/components/base/baseformitem.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/base/baseformitem.lzx
2007-08-01 06:43:22 UTC (rev 5890)
+++ openlaszlo/branches/legals/lps/components/base/baseformitem.lzx
2007-08-01 08:07:55 UTC (rev 5891)
@@ -53,6 +53,12 @@
}
super.init();
</method>
+
+ <method name="destroy">
+ if (this._parentform)
+ this._parentform.removeFormItem(this);
+ super.destroy();
+ </method>
<handler name="oninit"><![CDATA[
var fp = this.findForm();
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins