Openbravo Issue Tracking System - POS2
View Issue Details
0050823POS2Corepublic2022-10-14 13:432022-11-13 08:59
javierRodriguez 
javierRodriguez 
normaltrivialalways
closedfixed 
5
 
22Q4.122Q4.1 
No
0050823: it is not possible to close Confirmation Dialog from other part
It is necessary to close the confirmation dialog programatically.

For example, you could have a scenario when the application is shown a count down confirm dialog (like the session expiration dialog) and, when the count is 0, close it.
-
export dialogValues from ConfirmationDialog.jsx file to be able to call it from outside
No tags attached.
blocks feature request 0050533 closed javierRodriguez it is not possible to close Confirmation Dialog from other part 
Issue History
2022-11-10 11:55javierRodriguezTypefeature request => backport
2022-11-10 11:55javierRodriguezTarget Version => 22Q4.1
2022-11-10 18:14hgbotNote Added: 0143428
2022-11-13 08:59hgbotResolutionopen => fixed
2022-11-13 08:59hgbotStatusscheduled => closed
2022-11-13 08:59hgbotNote Added: 0143490
2022-11-13 08:59hgbotFixed in Version => 22Q4.1
2022-11-13 08:59hgbotNote Added: 0143491

Notes
(0143428)
hgbot   
2022-11-10 18:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/908 [^]
(0143490)
hgbot   
2022-11-13 08:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/908 [^]
(0143491)
hgbot   
2022-11-13 08:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 8970ea5d2d6f476a52ab4ff2e6de3abe433445db
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 13-11-2022 07:58:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8970ea5d2d6f476a52ab4ff2e6de3abe433445db [^]

Fixed ISSUE-50823: Add closeOnCountDownAction prop to close the dialog when countdown is 0

---
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/ConfirmationDialog.jsx
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/__test__/ConfirmationDialog.test.jsx
---