This commit is contained in:
hydrant
2019-09-03 19:49:54 +02:00
parent 7086e700ac
commit 8c111e3516

View File

@@ -97,7 +97,7 @@ export default function reportList(globalData: GlobalData) {
reportMenu = new Menu("QuickReport/Ticket", "", new Point(50, 50), null, null);
reportMenu.AddItem(new UIMenuListItem("Anliegen", "", new ItemsCollection(types)));
reportMenu.AddItem(new UIMenuListItem("Absenden", "", new ItemsCollection(types)));
reportMenu.AddItem(sendItem);
reportMenu.AddItem(cancelItem);
@@ -105,7 +105,7 @@ export default function reportList(globalData: GlobalData) {
reportMenu.ListChange.on((item, index) => {
switch (item.Text) {
case "Anliegen":
case "Absenden":
type = String(item.SelectedItem.DisplayText);
break;
}