This commit is contained in:
2019-06-03 23:48:00 +00:00
parent ce9c0ed4d0
commit cb55fa8809

View File

@@ -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);