Author: max
Date: 2007-08-17 18:18:14 -0700 (Fri, 17 Aug 2007)
New Revision: 6142

Modified:
   openlaszlo/branches/wafflecone/lps/components/lz/list.lzx
Log:
Change 20070817-maxcarlson-D by [EMAIL PROTECTED] on 2007-08-17 17:44:06 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: <list> should disable "autoscrollbar" on destroy

New Features: 

Bugs Fixed: LPP-4431 - <list> should disable "autoscrollbar" on destroy

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

Documentation:

Release Notes:

Details: Add destroy() method per LPP-4431
    

Tests: http://localhost:8080/legals-clean/examples/components/style_example.lzx 
and http://localhost:8080/legals-clean/examples/components/list_example.lzx run 
as before in dhtml and swf.



Modified: openlaszlo/branches/wafflecone/lps/components/lz/list.lzx
===================================================================
--- openlaszlo/branches/wafflecone/lps/components/lz/list.lzx   2007-08-18 
00:59:23 UTC (rev 6141)
+++ openlaszlo/branches/wafflecone/lps/components/lz/list.lzx   2007-08-18 
01:18:14 UTC (rev 6142)
@@ -313,6 +313,16 @@
                 if (this._bgcolor == null) interior.setBGColor(s.bgcolor);
             }
         </method>
+
+        <!--- @keywords private -->
+        <method name="destroy" ><![CDATA[
+            if (this.autoscrollbar)
+                this.setAttribute("autoscrollbar", false);
+            if (this.shownitems != -1)
+                this.setAttribute("shownitems", -1);
+                    
+            super.destroy.apply(this, arguments);
+        ]]></method> 
         <doc>
           <tag name="shortdesc"><text>
               contains listitems and provides selection capabilities.


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to