This commit is contained in:
2019-04-30 21:10:34 +00:00
parent 3495a56d04
commit caef1186db
4 changed files with 21 additions and 6 deletions

View File

@@ -397,12 +397,16 @@ export default {
alert("STUB: DELETE");
},
duplicate() {
this.$gzrole.getRights(this, this.$gztype.Widget, this.obj.ownerId);
//this.$gzrole.getRights(this, this.$gztype.Widget, this.obj.ownerId);
this.$gzevent.$emit(
"popup-message",
"This is a test popup message\r\nDUPLICATE ALL THE THINGS!"
);
//only if not dirty
//check rights
//duplicate
//navigate to new record
alert("STUB: DUPLICATE");
//alert("STUB: DUPLICATE");
},
stubTestClick() {
this.$gzevent.$emit("menu-replace-item", {