Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 5838:1ae8f7b3787a
mod_firewall: Fix REPORT TO action name in documentation
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 12 Feb 2024 16:31:25 +0000 |
parents | 4bdfd83e091f |
children |
line wrap: on
line source
$(function() { let jsxc = new JSXC({ loadConnectionOptions: function(username, password) { return Promise.resolve(%s); } }); let formElement = $('#jsxc_login_form'); let usernameElement = $('#jsxc_username'); let passwordElement = $('#jsxc_password'); jsxc.watchForm(formElement, usernameElement, passwordElement); });