Benoit VINCENT
2014-05-05 13:45:46 UTC
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
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