Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 4966:4ffd6551f4bb
mod_firewall: README: Clarify when storage access can occur with roster checks
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 28 Jun 2022 16:39:44 +0100 |
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); });