I'm going to be implementing a way to disable event extraction sometime soon
as it's revealed unexpectedly strange uses of certain aspects of inline JS in a
variety of cases (not surprising, of course) that aren't necessarily solvable. So,
that should help you in this case as well, at least as we work out the kinks. It should
really have been implemented with such a toggle from the beginning, and I'm rather
embarrassed that I didn't do so.
Since you're doing this request via AJAX but seemingly not through Lift's
AJAX plumbing, I see that edge case isn't really handled above. The reason is
because LiftMerge can be run in a standard AJAX request as well, at which point
the JS in question will be appended via `S.appendJs`. Though now that I look more
closely, perhaps that wouldn't happen if run through LiftMerge even in that case…
Anyway, I'll have a closer look. Can you file an issue please?
Thanks,
Antonio