Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 5943:5076b78c95ef
mod_muc_moderation: Fix occupant-id placement in moderated tombstone.
author | John Livingston <git@john-livingston.fr> |
---|---|
date | Mon, 29 Jul 2024 12:35:19 +0200 |
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); });