[
https://issues.apache.org/jira/browse/XAP-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Margaris resolved XAP-327.
--------------------------------
Resolution: Fixed
Whenever you clicked on a button, it would remove the text node and immediately
re-add it, which would interfere with the onClick tracking.
If anything is going to break because of this fix it would be text/image
alignment. I messed around in the widget tests and didn't see any problem.
> Widgets: Button: Text of a button doesn't trigger an onCommand when button
> has had image added to it
> ----------------------------------------------------------------------------------------------------
>
> Key: XAP-327
> URL: https://issues.apache.org/jira/browse/XAP-327
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Other
> Reporter: Trevor Oldak
> Assigned To: James Margaris
> Priority: Critical
>
> 1) Open the button widget component test
> 2) Click 'Add event listeners' to apply an onCommand listener to the button.
> 3) Click the text in the button. You see that the onCommand goes through.
> 4) Click the radio button to set the 'image' attribute to
> '../images/Foreground.JPG'
> 5) Click the text of the button. No onCommand event is fired, though the
> button appears to be clicked.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.