view mod_jsxc/templates/template.js @ 5231:bef543068077

mod_http_oauth2: Fix to disable disabled response handlers correctly Wrong table
author Kim Alvefur <zash@zash.se>
date Fri, 10 Mar 2023 12:03:23 +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);
});