From f7b56b297531a98ec2e118bab004b6f06e97de05 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Mon, 6 May 2024 03:20:21 +0200 Subject: [PATCH] Fix registration button state in players form --- view-webapp/src/main/webapp/js/tour-registration.inc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/view-webapp/src/main/webapp/js/tour-registration.inc.js b/view-webapp/src/main/webapp/js/tour-registration.inc.js index 7978350..cc005a6 100644 --- a/view-webapp/src/main/webapp/js/tour-registration.inc.js +++ b/view-webapp/src/main/webapp/js/tour-registration.inc.js @@ -100,7 +100,7 @@ function fillPlayer(player) { form.val('egf_id', player.egf); $('#needle')[0].value = ''; initSearch(); - $('#register').focus(); + $('#register').removeClass('disabled').focus(); } function addPlayers() { @@ -118,6 +118,7 @@ function addPlayers() { }); form.val('final', status); $('#player').removeClass('edit').addClass('create'); + $('#register').removeClass('disabled'); modal('player'); $('#needle').focus(); store('addingPlayers', true);