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