Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 5250:d9577083c5f5
mod_audit: Include client id in audit log entries (if known)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 14 Mar 2023 17:48:44 +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); });