Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036081Retail ModulesWeb POSpublic2017-05-24 10:402017-05-30 18:12
guillermogil 
guillermogil 
normalminoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0036081: If you raise a showLoading and then raises a popup it is shown and becomes clickable
If you raise a showLoading and then raises a popup it is shown and becomes clickable.
This behavior is creating confusion and can rely on wrong data
- Login on WebPOS
- Open developers tools


- Put the following code:
  OB.UTIL.showLoading(true);

- Put the following code:
  OB.MobileApp.view.waterfall('onShowPopup', {
    popup: 'receiptPropertiesDialog'
  });

You will notice that the popup is shown
See diff attached
No tags attached.
related to defect 0035170 closed jorge-garcia If you have a popup opened and you raise a showLoading the popup is behind and clickable 
diff issue.diff (1,461) 2017-05-24 10:40
https://issues.openbravo.com/file_download.php?file_id=10790&type=bug
Issue History
2017-05-24 10:40guillermogilNew Issue
2017-05-24 10:40guillermogilAssigned To => Retail
2017-05-24 10:40guillermogilFile Added: issue.diff
2017-05-24 10:40guillermogilTriggers an Emergency Pack => No
2017-05-24 10:40guillermogilRelationship addedrelated to 0035170
2017-05-24 17:46guillermogilNote Added: 0096762
2017-05-25 11:49hgbotCheckin
2017-05-25 11:49hgbotNote Added: 0096790
2017-05-25 11:49hgbotStatusnew => resolved
2017-05-25 11:49hgbotResolutionopen => fixed
2017-05-25 11:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/234a37ef5a652d8e5128407a76b02e6ddeda0f4d [^]
2017-05-25 11:49guillermogilReview Assigned To => marvintm
2017-05-25 11:49guillermogilAssigned ToRetail => guillermogil
2017-05-25 11:49guillermogilStatusresolved => new
2017-05-25 11:49guillermogilResolutionfixed => open
2017-05-25 11:49guillermogilFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/234a37ef5a652d8e5128407a76b02e6ddeda0f4d [^] =>
2017-05-25 11:49guillermogilIssue Monitored: marvintm
2017-05-25 11:50guillermogilStatusnew => scheduled
2017-05-25 11:50guillermogilStatusscheduled => resolved
2017-05-25 11:50guillermogilResolutionopen => fixed
2017-05-30 18:12marvintmStatusresolved => closed
2017-05-30 18:12marvintmFixed in Version => RR17Q3

Notes
(0096762)
guillermogil   
2017-05-24 17:46   
Proposed solution has successfully passed try: https://ci.openbravo.com/view/try-retail/job/try-ret-init/8157/ [^]
(0096790)
hgbot   
2017-05-25 11:49   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 234a37ef5a652d8e5128407a76b02e6ddeda0f4d
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Thu May 25 11:49:15 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/234a37ef5a652d8e5128407a76b02e6ddeda0f4d [^]

Fixed issue 36081: raising a showLoading and then a popup

This was an unhandled case from issue 35170.
Now if showLoading is showing we set the display of the opened popup to none.
Once showLoading popup gets hidden it will automatically remove the display:none

---
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---