Added - confirmation when queue gets created
This commit is contained in:
@@ -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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user