This commit is contained in:
2020-03-29 23:43:06 +00:00
parent be41587012
commit fcb9fc58ce
2 changed files with 3 additions and 3 deletions

View File

@@ -114,9 +114,9 @@ export default {
}, /////////////////////////////////////
// Custom confirmation
//
confirmByKey() {
confirmGeneric(tKey) {
return VM_LOCAL.$root.$gzconfirm({
message: window.$gz.translation.get("DeletePrompt"),
message: window.$gz.translation.get(tKey),
yesButtonText: window.$gz.translation.get("OK"),
noButtonText: window.$gz.translation.get("Cancel")
});

View File

@@ -340,7 +340,7 @@ export default {
},
remove() {
var vm = this;
window.$gz.dialog.confirmDelete().then(dialogResult => {
window.$gz.dialog.confirmGeneric("ResetToDefault").then(dialogResult => {
if (dialogResult == true) {
//do the delete
vm.formState.loading = true;