Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 5042:166fd192f39c
mod_sasl2: Move <inline/> into <authentication>
This is a small change we've agreed upon in the upcoming version of the XEP.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 21 Sep 2022 10:25:34 +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); });
