Hi Lifters.
I've finally chased down a bug which has haunted our project for some time.
The problem is that wiring-content isn't replaced correctly when it is part of an AJAX-response and the AJAX-response is generated in a JsCmd.toJsCmd when toJsCmd is a `def`. The Wiring-content is then first replaced on the subsequent AJAX-response.
Changing the toJsCmd to a `val` makes everything work correctly and the wiring-content is replaced on the first AJAX-response.
For some reason, when the AJAX-response is generated in "def toJsCmd" it is not included as part the current AJAX-response.
Anyone familiar with the Wiring-code willing to take a look?
Thanks.
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963