Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034733Retail ModulesWeb POSpublic2016-12-14 16:542016-12-19 11:30
guilleaer 
guilleaer 
normalmajorhave not tried
closedfixed 
5
 
RR17Q1RR17Q1 
marvintm
Pre packaging ( pi )
No
0034733: Confirmation popup is not hiding scrim properly when 2 dialogs are shown at the same time
Confirmation popup is not hiding scrim properly when 2 confirmation popups are shown at the same time
- login into web POS
- open developer tools
- execute the following command using the console:
OB.UTIL.showConfirmation.display("popup1", "This is popup 1");
- Without close the popup execute the following command
OB.UTIL.showConfirmation.display("popup2", "This is popup 2");
- Press OK button
Fine: 1st popup has gone, 2nd Popup is properly closed
Wrong: The scrim is still there.
Currently when a confirmation dialog is shown, previous components are destroyed but the scrim is still there.

I suggest to hide the current popup (This action will close the scrim) and then destroy the components.

Doing it the problems should dissapear
No tags attached.
related to defect 0034577 closed guilleaer The component 'OB.UI.DatePicker' does not work properly. 
has duplicate defect 0034750 closed Retail can't operate webPOS after cash management 
diff possiblediffScrim.diff (1,781) 2016-12-14 17:44
https://issues.openbravo.com/file_download.php?file_id=10170&type=bug
Issue History
2016-12-14 16:54guilleaerNew Issue
2016-12-14 16:54guilleaerAssigned To => guilleaer
2016-12-14 16:54guilleaerTriggers an Emergency Pack => No
2016-12-14 16:55guilleaerRelationship addedrelated to 0034577
2016-12-14 17:44guilleaerFile Added: possiblediffScrim.diff
2016-12-15 17:49marvintmRelationship addedhas duplicate 0034750
2016-12-15 17:52marvintmRegression level => Pre packaging ( pi )
2016-12-16 08:37hgbotCheckin
2016-12-16 08:37hgbotNote Added: 0092429
2016-12-16 08:37hgbotStatusnew => resolved
2016-12-16 08:37hgbotResolutionopen => fixed
2016-12-16 08:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5142ec05c60e911e99fdace344fbcfb1afdafe3e [^]
2016-12-19 11:30marvintmReview Assigned To => marvintm
2016-12-19 11:30marvintmStatusresolved => closed
2016-12-19 11:30marvintmFixed in Version => RR17Q1

Notes
(0092429)
hgbot   
2016-12-16 08:37   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5142ec05c60e911e99fdace344fbcfb1afdafe3e
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Dec 15 13:54:52 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5142ec05c60e911e99fdace344fbcfb1afdafe3e [^]

Fixed issue 34733: Confirmation popups are hidden before destroy them

---
M web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---