Why "Wait for" does not catch the mouseup event of a JQueryElement object when it is passed as a parameter to a subroutine.
B4X:
Sub ModalX(divx As JQueryElement)
'
...
'
Dim BtnClick As String = ""
'
'Wait For divx_MouseUp (Params As Map) '<<--- Why this code does not work?
Wait For modal1_Mouseup (Params As Map) '<<--- This code does work
'
BtnClick = Params.Get("target")
Log("Boton Click: " & BtnClick)
'
....
'
End Sub