$(document).ready(async function () {
	$('fieldset').hide();
	$('#login').show();

	app = new window.App();

	////////////////
	// MAIN STUFF //
	////////////////
	$('#channelWin,#channelOsx,#channelLinux,#channelOther').on('change', function (event) {
		app.validate();
	});

	$('#btnLogin').on('click', function (event) {
		app.login();
	});

	$('#btnLogout').on('click', function (event) {
		app.logout();
	});

	$('#userSelect').on('change', function (event) {
		app.selectUser($('#userSelect option:selected').val());
	});

	$('#projectSelect').on('change', function (event) {
		app.selectProject($('#projectSelect option:selected').val());
		app.validate();
	});

	$('#selectedFile').on('change', function (event) {
		app.selectFile(event.currentTarget.files[0]);
	});

	$('#btnPush').on('click', function (event) {
		app.butler_push(app.selectedFile, app.getProjectUrl());
	});

	$('#btnCheckStatus').on('click', function (event) {
		app.butler_status(app.getProjectUrl());
	});

	await app.butler_init();
	app.tryLogin();
});

@@ -1010,25 +1010,8 @@
 ();%0A
-%09app.tryLogin();%0A
 %7D);%0A

remove autologin