This commit is contained in:
2020-04-01 19:10:22 +00:00
parent fdd1fd3aaa
commit 1ea6e8054e

View File

@@ -105,14 +105,6 @@ export default {
///////////////////////////////////// /////////////////////////////////////
// Display LT message with wait for ok // 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) { displayLTErrorMessage(tKeyText, tKeyTitle = undefined) {
return VM_LOCAL.$root.$gzconfirm({ return VM_LOCAL.$root.$gzconfirm({
message: tKeyText ? window.$gz.translation.get(tKeyText) : "", message: tKeyText ? window.$gz.translation.get(tKeyText) : "",
@@ -120,7 +112,8 @@ export default {
yesButtonText: window.$gz.translation.get("OK"), yesButtonText: window.$gz.translation.get("OK"),
type: "error" type: "error"
}); });
}, },
///////////////////////////////////// /////////////////////////////////////
// Custom confirmation // Custom confirmation
// //