[ALOY-196] e.source.id not returning id in event handlers
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-08-22T06:28:09.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Runtime, XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-08-21T06:41:11.000+0000 |
| Updated | 2018-03-07T22:26:06.000+0000 |
Description
from aaron saunders in google groups:
if I have an object like
in my code I have
function doSomething(e) {
// this is always undefined? Why? I expected it to be 'place_cancel'
alert ( e.source.id );
}
So how do i support multiple objects through one function?
*link*: https://groups.google.com/forum/?fromgroups=#!topic/appc-ti-alloy/yiMv4wdrXoA
No comments