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