This commit is contained in:
2020-04-01 19:08:07 +00:00
parent 810e060fed
commit fdd1fd3aaa
3 changed files with 22 additions and 14 deletions

View File

@@ -105,13 +105,23 @@ export default {
/////////////////////////////////////
// Display LT message with wait for ok
//
// displayLTErrorMessage(tKeyText, tKeyTitle = undefined) {
// return VM_LOCAL.$root.$gzconfirm({
// message: tKeyText ? window.$gz.translation.get(tKeyText) : "",
// title: tKeyTitle ? window.$gz.translation.get(tKeyTitle) : "",
// yesButtonText: window.$gz.translation.get("OK"),
// type: "error"
// });
// },
displayLTErrorMessage(tKeyText, tKeyTitle = undefined) {
return VM_LOCAL.$root.$gzconfirm({
message: tKeyText ? window.$gz.translation.get(tKeyText) : "",
title: tKeyTitle ? window.$gz.translation.get(tKeyTitle) : "",
yesButtonText: window.$gz.translation.get("OK")
yesButtonText: window.$gz.translation.get("OK"),
type: "error"
});
}, /////////////////////////////////////
},
/////////////////////////////////////
// Custom confirmation
//
confirmGeneric(tKey) {