This commit is contained in:
@@ -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")
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user