This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
/* xeslint-disable */
|
||||
|
||||
/////////////////////////////
|
||||
//
|
||||
@@ -219,6 +219,7 @@ function generateMenu(vm, readOnly) {
|
||||
{ divider: true, inset: false },
|
||||
{
|
||||
title: vm.$gzlocale.get("Duplicate"),
|
||||
|
||||
icon: "clone",
|
||||
key: "inventory-widget-edit:duplicate",
|
||||
vm: vm
|
||||
@@ -433,6 +434,7 @@ export default {
|
||||
if (dialogResult == true) {
|
||||
//do the delete
|
||||
vm.formState.loading = true;
|
||||
|
||||
var url = "Widget/" + vm.$route.params.id;
|
||||
//TODO: check if it's a new record (no ID) or one from server (has id)
|
||||
vm.$gzform.deleteAllErrorBoxErrors(vm);
|
||||
|
||||
Reference in New Issue
Block a user