This commit is contained in:
@@ -182,6 +182,17 @@ function clickHandler(menuItem) {
|
||||
break;
|
||||
case "duplicate":
|
||||
m.vm.duplicate();
|
||||
break;
|
||||
case "report":
|
||||
m.vm.$gzdialog
|
||||
.getReportChoice(m.vm, m.vm.$gzreport.availableReports())
|
||||
.then(result => {
|
||||
m.vm.$gzevent.$emit(
|
||||
"notify-success",
|
||||
FORM_KEY + "::report click, selected is: [" + result + "]"
|
||||
);
|
||||
});
|
||||
|
||||
break;
|
||||
default:
|
||||
m.vm.$gzevent.$emit(
|
||||
@@ -288,8 +299,6 @@ export default {
|
||||
.fetch(ltKeysRequired)
|
||||
.then(() => {
|
||||
//don't have access to local data object until here
|
||||
// vm.rights = this.$gzrole.getRights(this, this.$gztype.Widget);
|
||||
// console.log("BEFORECREATE: setting rights");
|
||||
vm.formState.ready = true;
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user