This commit is contained in:
hydrant
2019-09-03 19:43:55 +02:00
parent 57717ea532
commit 0c22b78b1b
2 changed files with 19 additions and 20 deletions

View File

@@ -112,8 +112,7 @@ export default function reportList(globalData: GlobalData) {
});
reportMenu.ItemSelect.on((item) => {
if (item.Text === "Annehmen") {
var tickcont;
if (item.Text === "Absenden") {
var ticketContentBox = new InputHelper("Worin besteht dein Anliegen?", globalData);
ticketContentBox.show();
@@ -121,7 +120,7 @@ export default function reportList(globalData: GlobalData) {
var content = data;
mp.events.callRemote("requestReport", content, type);
mp.events.callRemote("requestReport", type, content);
mp.events.call("SERVER:CloseReportMenu");
reportMenu.Close();
});