Software /
code /
prosody-modules
File
mod_jsxc/templates/template.js @ 5945:805515dd2960 default tip
mod_invites_webgen: mention default url and the way to config it
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Wed, 26 Feb 2025 19:36:35 +0700 |
parent | 4825:4bdfd83e091f |
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); });