This commit is contained in:
2019-04-18 23:19:30 +00:00
parent 266cc78530
commit 54a5330caf
5 changed files with 71 additions and 23 deletions

View File

@@ -131,7 +131,7 @@
<script>
/* xeslint-disable */
function clickHandler(item) {
if (!item.disabled && !item.key.startsWith("app:")) {
if (!item.disabled && !item.key.startsWith("app||")) {
alert("inventory-widget-edit.vue::context click: " + item.key);
}
}
@@ -185,19 +185,19 @@ export default {
title: this.$gzlocale.get("Save"),
icon: "save",
surface: true,
key: "save"
key: "inventory-widget-edit||save"
},
{
title: this.$gzlocale.get("Delete"),
icon: "trash-alt",
surface: true,
key: "delete"
key: "inventory-widget-edit||delete"
},
{ divider: true, inset: false },
{
title: this.$gzlocale.get("Duplicate"),
icon: "clone",
key: "duplicate"
key: "inventory-widget-edit||duplicate"
}
]
});