This commit is contained in:
2020-06-14 23:23:21 +00:00
parent 9a28ec0665
commit 3858fe5c7f
4 changed files with 36 additions and 40 deletions

View File

@@ -131,11 +131,12 @@ export default {
/////////////////////////////////////
// Custom confirmation
//
confirmGeneric(tKey) {
confirmGeneric(tKey, ttype = "info") {
return VM_LOCAL.$root.$gzconfirm({
message: window.$gz.translation.get(tKey),
yesButtonText: window.$gz.translation.get("OK"),
noButtonText: window.$gz.translation.get("Cancel")
noButtonText: window.$gz.translation.get("Cancel"),
type: ttype
});
}