Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 6549:d2e50b587721
mod_firewall: marks: switch to keyval+ store API
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 24 May 2026 10:49:09 +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); });
