Tim,

Ignoring UIEvent was first added in XSLTForms because it happened that, with Google Chrome only, submissions were activated twice while just pressing once the corresponding trigger.

Since this workaround, Google Chrome has been updated and I have not reproduce this issue anymore. So, in the next commit, UIEvent will be treated as any Event allowing the Open Street Map demo to work as previously. We will see if users might complain again about submissions.

Best regards,

Alain

Le 20/02/2016 21:07, Tim Thompson a écrit :
Hi, Alain,

There still seems to be an issue with UI events in the latest revision. I opened an issue on GitHub[1].

Best regards,
Tim

[1] https://github.com/AlainCouthures/xsltforms/issues/15

--
Tim A. Thompson
Metadata Librarian (Spanish/Portuguese Specialty)
Princeton University Library


On Sun, Dec 6, 2015 at 9:56 PM, Tim Thompson <[email protected] <mailto:[email protected]>> wrote:

    Alain,

    I was working through Steven Pemberton's excellent OpenStreetMap
    XForms example[1] from XML Amsterdam, and I noticed that it does
    not work in the latest version of XSLTForms (his demo is using
    XSLTForms RC1.0).

    A small change introduced in rev. 620 appears to be the problem:
    
https://github.com/AlainCouthures/xsltforms/blob/972a712e47fb952255c25e15d437255aaa58b31a/src/js/xmlevtmngt/Listener.js.xml#L102

    Removing "&& !(event instanceof UIEvent)" allows the mouse events
    to be registered again. Is it safe to remove this condition?

    Best regards,
    Tim

    [1] http://homepages.cwi.nl/~steven/Talks/2015/11-05-example/
    <http://homepages.cwi.nl/%7Esteven/Talks/2015/11-05-example/>

    --
    Tim A. Thompson
    Metadata Librarian (Spanish/Portuguese Specialty)
    Princeton University Library



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to