File

mod_jsxc/templates/template.js @ 4845:6e17df6becec

mod_bookmarks2: Actually fix the right wrong codepath
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 04 Jan 2022 22:59:24 +0100
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);
});