@topconsultnpm/sdkui-react-beta 6.12.88 → 6.12.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -285,6 +285,7 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
285
285
|
};
|
286
286
|
const confirmActionPopup = async () => {
|
287
287
|
TMMessageBoxManager.show({
|
288
|
+
parentId: isModal ? "TMDcmtFormShowConfirmForClose-" + id : undefined,
|
288
289
|
buttons: [ButtonNames.YES, ButtonNames.NO],
|
289
290
|
message: layoutMode === LayoutModes.Update ? SDKUI_Localizator.SaveQuestion : 'Sei sicuro di voler archiviare questo documento?',
|
290
291
|
onButtonClick(e) {
|
@@ -497,6 +498,7 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
497
498
|
return;
|
498
499
|
}
|
499
500
|
TMMessageBoxManager.show({
|
501
|
+
parentId: isModal ? "TMDcmtFormShowConfirmForClose-" + id : undefined,
|
500
502
|
message: SDKUI_Localizator.SaveQuestion, buttons: [ButtonNames.YES, ButtonNames.NO, ButtonNames.CANCEL],
|
501
503
|
onButtonClick: async (e) => {
|
502
504
|
try {
|
@@ -27,6 +27,7 @@ const TMSaveForm = ({ id, formMode = FormModes.Update, showToolbar = true, skipI
|
|
27
27
|
return;
|
28
28
|
}
|
29
29
|
TMMessageBoxManager.show({
|
30
|
+
parentId: isModal ? "TMSaveFormShowConfirmForClose-" + id : undefined,
|
30
31
|
message: SDKUI_Localizator.SaveQuestion, buttons: [ButtonNames.YES, ButtonNames.NO, ButtonNames.CANCEL],
|
31
32
|
onButtonClick: async (e) => {
|
32
33
|
try {
|
@@ -48,6 +49,7 @@ const TMSaveForm = ({ id, formMode = FormModes.Update, showToolbar = true, skipI
|
|
48
49
|
return;
|
49
50
|
}
|
50
51
|
TMMessageBoxManager.show({
|
52
|
+
parentId: isModal ? "TMSaveFormShowConfirmForClose-" + id : undefined,
|
51
53
|
message: SDKUI_Localizator.SaveQuestion, buttons: [ButtonNames.YES, ButtonNames.NO, ButtonNames.CANCEL],
|
52
54
|
onButtonClick: async (e) => {
|
53
55
|
try {
|