flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Zarzycki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-35259) [FlexJS] Uncaught TypeError is not a function
Date Wed, 08 Feb 2017 20:22:41 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Piotr Zarzycki updated FLEX-35259:
----------------------------------
    Affects Version/s:     (was: Apache FlexJS 0.7.0)
                       Apache FlexJS 0.8.0

> [FlexJS] Uncaught TypeError  is not a function
> ----------------------------------------------
>
>                 Key: FLEX-35259
>                 URL: https://issues.apache.org/jira/browse/FLEX-35259
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.8.0
>            Reporter: Justin Mclean
>         Attachments: Main.mxml, MyPanel.mxml, Panel.mxml, PanelText.mxml
>
>
> Using the current nightly FlexJS nightly the attached code gives this error when you
click on the button.
> Uncaught TypeError: this.callback is not a function
>     at Panel.clicked (Panel.js:58)
>     at Panel.$EH0 (Panel.js:68)
>     at Function.goog.events.fireListener [as googFireListener] (events.js:728)
>     at Object.org.apache.flex.core.ElementWrapper.fireListenerOverride [as fireListener]
(ElementWrapper.js:41)
>     at HTMLButtonElement.goog.events.handleBrowserEvent_ (events.js:852)
>     at HTMLButtonElement.<anonymous> (events.js:277)
> This error occurs if you do this:
> {code}
> <local:Panel id="loginPanel" callback="{callback}"/>
> {code}
> Or this:
> {code}
> <local:Panel id="loginPanel" callback="{this.callback}"/>
> {code}
> The Flex SDK equivalent works as expected (also attached).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message