Re: [Xsltforms-support] Buttons triggered twice on FireFox.
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2014-05-05 18:22:34
|
Hi Benoit, I have not reproduced this issue with latest version of Firefox for Windows so I would be happy to know more precisely your user environment. According to HTML specifications, I think that names should always be in upper case. Anyway, it is quite easy to add .toUpperCase() and it will be committed in the next build! Thank you very much! -Alain Le 05/05/2014 15:45, Benoit VINCENT a écrit : > Hi Alain, > Since I have upgraded XSLTForms to r595, I encountered problems with my > triggers (normal appearance) used in Firefox (they work fine with > Chrome). There seems like the DOMactivate event was fired twice. > I searched in your commits and I found you have worked on events > bubbling in r585. In /src/js/xmlevtmngt/Listener.js.xml[87] you test : > > event.target.nodeName === "BUTTON" > > I think that in Firefox the nodeName is in lower case. So I tried to add : > > event.target.nodeName === "BUTTON" || event.target.nodeName === > "button" > > and now, all works correctly with Firefox, miracle ! > > Is it the good way to correct this bug ? > > Thank you for your help, > Benoit > > ------------------------------------------------------------------------------ > Is your legacy SCM system holding you back? Join Perforce May 7 to find out: > • 3 signs your SCM is hindering your productivity > • Requirements for releasing software faster > • Expert tips and advice for migrating your SCM now > http://p.sf.net/sfu/perforce > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |