[Xsltforms-support] Problem using xf:dispatch
Brought to you by:
alain-couthures
From: Mats E. <mat...@ya...> - 2014-09-10 15:42:20
|
Hi Alan, When adding an xf:dispatch element to my form, I get an error message during runtime "Error dispatching event 'my-custom-event' : TypeError Unable to get value of the property 'listeners': object is null or undefined". I was able to fix it by putting a condition around last line in the body of the definition of the function 'XsltForms_listener(...)' in xsltforms.js (variable subform is null). Please consider adding this to official code! Kind regards, Mats |