Metadata
- Source
- FLUID-4540
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Justin Obara
- Reporter
- y z
- Created
2011-11-25T16:47:29.681-0500 - Updated
2014-03-03T13:02:26.525-0500 - Versions
-
- 1.4
- Fixed Versions
-
- 1.5
- Component
-
- Framework
Description
It currently impossible to provide an expandable listener to the event through the demands block in particular.
I was able to fix the issue bu adding this inside fluid.mergeListeners
if (value.expander) {
value = fluid.expandOptions(value, that);
}
before the last two lines.
The issue is that fluid.event.resolveListenerRecord assumes that if the listener record is not primitive it has a listener field inside. Which is not the case when you have listener record as an expander.
Comments
-
Antranig Basman commented
2013-02-19T14:50:48.317-0500 Resolved by merge of FLUID-4330 branch at revision 91d5d1