This commit is contained in:
2020-03-29 23:27:43 +00:00
parent e5a5d04f10
commit be41587012
3 changed files with 66 additions and 3 deletions

View File

@@ -111,6 +111,15 @@ export default {
title: tKeyTitle ? window.$gz.translation.get(tKeyTitle) : "",
yesButtonText: window.$gz.translation.get("OK")
});
}, /////////////////////////////////////
// Custom confirmation
//
confirmByKey() {
return VM_LOCAL.$root.$gzconfirm({
message: window.$gz.translation.get("DeletePrompt"),
yesButtonText: window.$gz.translation.get("OK"),
noButtonText: window.$gz.translation.get("Cancel")
});
}
//TODO: Implement the following as it's own re-usable component instead of here
/////////////////////////////////////