From 221f2ef338d46b00f04ceb74f189a40258f013d9 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 6 Dec 2019 20:56:03 +0000 Subject: [PATCH] --- ayanova/src/views/customize.vue | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/ayanova/src/views/customize.vue b/ayanova/src/views/customize.vue index db08e927..9e898be1 100644 --- a/ayanova/src/views/customize.vue +++ b/ayanova/src/views/customize.vue @@ -212,32 +212,10 @@ function clickHandler(menuItem) { if (m.owner == FORM_KEY && !m.disabled) { switch (m.key) { case "save": - m.vm.submit(); + alert("STUB: SAVE"); + // m.vm.submit(); break; - case "delete": - m.vm.remove(); - break; - case "duplicate": - m.vm.duplicate(); - break; - case "report": - //TODO: FOLLOWING TWO LINES STILL VALID BUT NEED TO MAKE A REPORT CHOOSER COMPONENT - // var reportList = window.$gz.report.availableReports("WIDGET"); - // var selectedItem = reportList[0].value; - alert("STUB: REPORT LIST DIALOG"); - // window.$gz.dialog - // .getReportChoice(m.vm, reportList, selectedItem) - // .then(res => { - // if (res) { - // window.$gz.eventBus.$emit( - // "notify-success", - // FORM_KEY + "::report click, selected is: [" + res + "]" - // ); - // } - // }); - - break; default: window.$gz.eventBus.$emit( "notify-warning",