We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We get an error when using b:remoteCommand with a simple div with onclick event referencing the remoteCommand.
ReferenceError: event is not defined openChat_0
<script id="ticket_form:j_idt33:0:j_idt39">function openChat_0(){BsF.ajax.callAjax(document.getElementById('ticket_form:j_idt33:0:j_idt39'), event,'ticket_form:chatWindows','ticket_form:j_idt33:0:j_idt39', null, null, null, null);}</script>
The above script generated from our code. I saw a similair issue ( #490 ), could something like that can happen here too?
It works well with the primefaces remoteCommand.
BootsFaces version: 1.2.0 PrimeFaces version: 6.1 Firefox version: 58.0.2 (64-bit)
The text was updated successfully, but these errors were encountered:
Seems like no team member's using Firefox... but you're right, we should support it!
Sorry, something went wrong.
#916 added the "event" parameter for Firefox compatibility
7c14b8e
TheCoder4eu/BootsFaces-OSP#916 added the "event" parameter for Firefo…
a57202d
…x compatibility
I've fixed the bug. You can test the bugfix using the developer snapshot BootsFaces-1.2.1-SNAPSHOT. See #369 on how to get it.
BTW, thanks for the good analysis which made finding and repairing the bug a breeze!
stephanrauh
No branches or pull requests
Hi,
We get an error when using b:remoteCommand with a simple div with onclick event referencing the remoteCommand.
ReferenceError: event is not defined
openChat_0
<script id="ticket_form:j_idt33:0:j_idt39">function openChat_0(){BsF.ajax.callAjax(document.getElementById('ticket_form:j_idt33:0:j_idt39'), event,'ticket_form:chatWindows','ticket_form:j_idt33:0:j_idt39', null, null, null, null);}</script>
The above script generated from our code. I saw a similair issue ( #490 ), could something like that can happen here too?
It works well with the primefaces remoteCommand.
BootsFaces version: 1.2.0
PrimeFaces version: 6.1
Firefox version: 58.0.2 (64-bit)
The text was updated successfully, but these errors were encountered: