Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 5120:83afe4078e6e
mod_s2s_auth_dane: Update Compatibility chart (doesn't work anymore)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 25 Dec 2022 23:00:38 +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); });