fix
This commit is contained in:
@@ -97,7 +97,7 @@ export default function reportList(globalData: GlobalData) {
|
|||||||
|
|
||||||
reportMenu = new Menu("QuickReport/Ticket", "", new Point(50, 50), null, null);
|
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(sendItem);
|
||||||
reportMenu.AddItem(cancelItem);
|
reportMenu.AddItem(cancelItem);
|
||||||
@@ -105,7 +105,7 @@ export default function reportList(globalData: GlobalData) {
|
|||||||
|
|
||||||
reportMenu.ListChange.on((item, index) => {
|
reportMenu.ListChange.on((item, index) => {
|
||||||
switch (item.Text) {
|
switch (item.Text) {
|
||||||
case "Anliegen":
|
case "Absenden":
|
||||||
type = String(item.SelectedItem.DisplayText);
|
type = String(item.SelectedItem.DisplayText);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user