Added - confirmation when queue gets created

This commit is contained in:
jakub.salavec
2025-06-16 14:17:43 +02:00
parent eb71794f38
commit 3a48de002a

View File

@@ -443,6 +443,8 @@ var GempLotrHallUI = Class.extend({
},
createTournament: function() {
var that = this;
const type = $("#gameTypeSelect").val();
// Depending on the type, pick the correct format code from the formatSelect dropdown
const formatCode = $("#formatSelect").val();
@@ -487,9 +489,8 @@ var GempLotrHallUI = Class.extend({
startableEarly,
readyCheck,
function(json) {
// Success callback — handle your response here
console.log("Tournament created successfully:", json);
// You can add preview or other logic here as needed
// Success callback
that.showDialog("Tournament Update", "Tournament queue created successfully");
},
this.hallErrorMap()
);