This commit is contained in:
2021-07-19 23:05:31 +00:00
parent 97df26f982
commit 1256466385
5 changed files with 68 additions and 127 deletions

View File

@@ -152,6 +152,17 @@ export default {
noButtonText: window.$gz.translation.get("Cancel"),
type: ttype
});
},
/////////////////////////////////////
// Custom confirmation pre-translated
//
confirmGenericPreTranslated(msg, ttype = "info") {
return VM_LOCAL.$root.$gzconfirm({
message: msg,
yesButtonText: window.$gz.translation.get("OK"),
noButtonText: window.$gz.translation.get("Cancel"),
type: ttype
});
}
//new functions above here