This commit is contained in:
2019-04-19 17:34:51 +00:00
parent c9abfe8ef1
commit 94a1955d86
3 changed files with 21 additions and 19 deletions

View File

@@ -108,7 +108,7 @@
import aboutInfo from "../api/aboutinfo";
function clickHandler(item) {
if (!item.disabled && !item.key.startsWith("app||")) {
if (!item.disabled && !item.key.startsWith("app:")) {
alert("about.vue::context click: " + item.key);
}
}
@@ -143,7 +143,8 @@ export default {
title: this.$gzlocale.get("log"),
icon: "glasses",
surface: true,
key: "app||nav||log"
key: "app:nav:log",
data: "log"
}
]
});

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: "inventory-widget-edit||save"
key: "inventory-widget-edit:save"
},
{
title: this.$gzlocale.get("Delete"),
icon: "trash-alt",
surface: true,
key: "inventory-widget-edit||delete"
key: "inventory-widget-edit:delete"
},
{ divider: true, inset: false },
{
title: this.$gzlocale.get("Duplicate"),
icon: "clone",
key: "inventory-widget-edit||duplicate"
key: "inventory-widget-edit:duplicate"
}
]
});
@@ -282,7 +282,7 @@ export default {
icon: "save",
color: "error",
disabled: true,
key: "save"
key: "inventory-widget-edit:save"
});
// alert("stub test click");
}