Author: max
Date: 2007-08-20 12:44:08 -0700 (Mon, 20 Aug 2007)
New Revision: 6156
Modified:
openlaszlo/branches/wafflecone/lps/components/base/basescrollbar.lzx
Log:
Change 20070819-maxcarlson-g by [EMAIL PROTECTED] on 2007-08-19 10:28:24 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Clean-up for "basescrollbar"
New Features:
Bugs Fixed: LPP-4427 - Clean-up for "basescrollbar"
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Patched per LPP-4427.
Tests: See LPP-4427.
Modified: openlaszlo/branches/wafflecone/lps/components/base/basescrollbar.lzx
===================================================================
--- openlaszlo/branches/wafflecone/lps/components/base/basescrollbar.lzx
2007-08-20 06:43:22 UTC (rev 6155)
+++ openlaszlo/branches/wafflecone/lps/components/base/basescrollbar.lzx
2007-08-20 19:44:08 UTC (rev 6156)
@@ -211,6 +211,50 @@
]]>
</method>
+ <!--- @keywords private -->
+ <method name="destroy" ><![CDATA[
+ if ('_mwActivateDel' in this) {
+ this._mwActivateDel.unregisterAll();
+ delete this._mwActivateDel;
+ }
+
+ if ('_mwDeactivateDel' in this) {
+ this._mwDeactivateDel.unregisterAll();
+ delete this._mwDeactivateDel;
+ }
+
+ if ('_mwUpdateDel' in this) {
+ this._mwUpdateDel.unregisterAll();
+ delete this._mwUpdateDel;
+ }
+
+ if ('clipSizeDel' in this) {
+ this.clipSizeDel.unregisterAll();
+ delete this.clipSizeDel;
+ }
+
+ if ('targetHeightDel' in this) {
+ this.targetHeightDel.unregisterAll();
+ delete this.targetHeightDel;
+ }
+
+ if ('targetPosDel' in this) {
+ this.targetPosDel.unregisterAll();
+ delete this.targetPosDel;
+ }
+
+ if ('heightDel' in this) {
+ this.heightDel.unregisterAll();
+ delete this.heightDel;
+ }
+
+ delete this.scrolltarget;
+ delete this.focusview;
+ delete this.othersb;
+
+ super.destroy.apply(this, arguments);
+ ]]></method>
+
<!--- @keywords private -->
<method name="activateMouseWheel"> <![CDATA[
this.setAttribute('mousewheelactive', true);
@@ -475,7 +519,15 @@
<handler name="oninit">
classroot.thumb = this;
</handler>
-
+
+ <!--- @keywords private -->
+ <method name="destroy" ><![CDATA[
+ delete this.classroot.thumb;
+ delete this.target;
+
+ super.destroy.apply(this, arguments);
+ ]]></method>
+
<state name="ythumbdrag">
<attribute name="doffset" value="this.getMouse( 'y' )" when="once"
/>
<attribute name="y"
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins