File

mod_jsxc/templates/template.js @ 6137:4cb1cad2badd

mod_sasl_ssdp: Fix handling of disabled sasl mechanisms This fixes this bug: https://issues.prosody.im/1845
author tmolitor <thilo@eightysoft.de>
date Wed, 20 Nov 2024 05:07:11 +0100 (4 months ago)
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);
});