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

Key: LPP-2932
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P2 P2
Assignee: Mamye Kratt
Reporter: Henry Minsky
Votes: 0
Watchers: 1
Operations

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

setter for 'enabled' property on inputtext fails to send onenabled event

Created: 17/Oct/06 02:51 PM   Updated: 27/Sep/07 08:55 AM
Component/s: LFC - Text
Affects Version/s: Legals PR4, 3.3.3
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Severity: Minor
Runtime: N/A
Fix in hand: False


 Description  « Hide
Scott Evans posted this test case

<canvas height="500" width="500">
 <inputtext id="i1" width="150"
            bgcolor="${this.enabled ? 0xffffff : 0xff0000}">
     <handler name="onenabled">
         Debug.write("onenabled");
     </handler>
      This text is editable.</inputtext>

 <button y="20" onclick="i1.setAttribute('enabled',! i1.enabled)">
     toggle
 </button>
</canvas>

The onenabled event is never sent .

The setter (in trunk and legals) neglects to send the event

A patch is to put if (this.onenabled) {
        this.onenabled.sendEvent(enabled);
    }
in the setter (setEnabled())




 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mamye Kratt - 27/Jun/07 02:03 PM
Ben says closed, need to check.

Mamye Kratt - 06/Jul/07 02:45 PM
(4.0 branch (4.0.3) build r5599)
Closing.

Mamye Kratt - 06/Jul/07 02:45 PM
Need to test in legals.

Mamye Kratt - 17/Jul/07 12:19 PM
Need to test in legals.