History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4431
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: -- --
Assignee: Max Carlson
Reporter: André Bargull
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

<list> should disable "autoscrollbar" on destroy

Created: 04/Aug/07 05:40 AM   Updated: 17/Aug/07 06:19 PM
Component/s: Components - LZ
Affects Version/s: 4.0.3
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 6,142
Runtime: N/A
Flags: External
Fix in hand: True


 Description  « Hide
For better performance, <list> should disable "autoscroll" as soon as "destroy" is called.

[code]
<!--- @keywords private -->
<method name="destroy" ><![CDATA[
    if (this.autoscrollbar)
        this.setAttribute("autoscrollbar", false);
            
    super.destroy.apply(this, arguments);
]]></method>
[/code]

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
André Bargull - 04/Aug/07 11:20 AM
Additionally, <list> should also set "shownitems" to -1:

[code]
<!--- @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>
[/code]