Re: [Xsltforms-support] Problem using xf:dispatch
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2014-09-12 16:42:59
|
Hi Mats! Variable subform should never be null so it is an issue in Javascript generation. Could you please send me a minimal test case? Thanks! --Alain Le 10/09/2014 17:42, Mats Eklund a écrit : > 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 > > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |