This commit is contained in:
@@ -176,7 +176,13 @@ export default {
|
||||
this.$gzevent.$emit("context-menu-change", {
|
||||
isMain: false,
|
||||
icon: "fa-splotch",
|
||||
title: this.$gzlocale.get("Widget")
|
||||
title: this.$gzlocale.get("Widget"),
|
||||
contextItems: [
|
||||
{ title: "stub view log", icon: "glasses", key: "log" },
|
||||
{ title: "Click Me 2", key: "2" },
|
||||
{ title: "Click Me 3", key: "3" },
|
||||
{ title: "Click Me 4", key: "4" }
|
||||
]
|
||||
});
|
||||
this.$gzevent.$on("context-click", clickHandler);
|
||||
this.getDataFromApi();
|
||||
@@ -253,10 +259,7 @@ export default {
|
||||
alert("STUB: DELETE");
|
||||
}, //end of remove()
|
||||
stubTestClick() {
|
||||
this.$gzevent.$emit(
|
||||
"context-menu-change",
|
||||
"HI FROM inventory-widget-edit.vue"
|
||||
);
|
||||
alert("stub test click");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user