[Xsltforms-support] UI Events in XSLTForms
Brought to you by:
alain-couthures
|
From: Tim T. <tim...@gm...> - 2015-12-07 02:57:27
|
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/ -- Tim A. Thompson Metadata Librarian (Spanish/Portuguese Specialty) Princeton University Library |