bug in warning dialog always dire

This commit is contained in:
2022-03-15 21:33:37 +00:00
parent c0a8f81eaf
commit 928ca79e35

View File

@@ -100,7 +100,8 @@ export default {
return VM_LOCAL.$root.$gzconfirm({
message: window.$gz.translation.get("DeletePrompt"),
yesButtonText: window.$gz.translation.get("Delete"),
noButtonText: window.$gz.translation.get("Cancel")
noButtonText: window.$gz.translation.get("Cancel"),
type: "warning"
});
},
/////////////////////////////////////
@@ -110,7 +111,8 @@ export default {
return VM_LOCAL.$root.$gzconfirm({
message: window.$gz.translation.get("AreYouSureUnsavedChanges"),
yesButtonText: window.$gz.translation.get("Leave"),
noButtonText: window.$gz.translation.get("Cancel")
noButtonText: window.$gz.translation.get("Cancel"),
type: "warning"
});
},
/////////////////////////////////////