You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reopening, as this problem show up with minimal resources (but "combine" can be left to "false" to reproduce the problem), even it is is indeed fixed when not using minimal resources.
With minimal resources, when switching month, the clients sends a xxforms-blur and xforms-focus event to the server.
To debug this, we want to make changes to xforms.js and we can have the minimal version regenerated with: java -jar lib/yuicompressor-2.4.7.jar src/resources-packaged/ops/javascript/xforms.js -o build/orbeon-war/WEB-INF/resources/ops/javascript/xforms-min.js.
On Chrome, there are 2 blur events: one when the input loses focus, and one when the "next month" anchor loses the focus because the HTML for that part of the calendar is regenerated. The problem is with this second blur. In c9c8332, we modified YUI's calendar.js to stop the propagation of focusout in render(), when we regenerate the HTML. But that change didn't make it to calendar-min.js as that file wasn't minimized by build.xml. Doing so solves the problem.
Currently:
Instead, we wouldn't want the alert to show until the datepicker has been closed.
The text was updated successfully, but these errors were encountered: