Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051461Retail ModulesWeb POSpublic2023-01-26 13:282023-01-26 13:28
caristu 
Triage Platform Base 
highminorhave not tried
newopen 
5
 
 
No
0051461: Inconsistent behavior of DialogUIHandler between pos1 and reactPos
The OB.App.View.DialogUIHandler is supposed to provide an API with functions to interact with the user (ask confirmation, request data) that can be safely invoked within the business logic (like action preparations) regardless of the UI that triggers the logic.

In the case of OB.App.View.DialogUIHandler.askConfirmation, it has been detected some inconsistencies between pos1 and reactPos when using it:

1- In pos1 the property to hide the Ok button is "hideOk" and in reactPos is "hideAccept"
2- In pos1 the canDismiss option does not work
1- Execute OB.App.View.DialogUIHandler.askConfirmation({hideAccept: true, canDismiss: true}) in reactPos and note:
 
  1a- The Ok button is gone
  2a- The dialog can be dismissed by clicking on the 'X' or outside the popup

2- Execute OB.App.View.DialogUIHandler.askConfirmation({hideAccept: true, canDismiss: true}) in pos1 and note:

    1a- The Ok button is still present - WRONG
    2a- The dialog cannot be dismissed - WRONG
No tags attached.
Issue History
2023-01-26 13:28caristuNew Issue
2023-01-26 13:28caristuAssigned To => Retail
2023-01-26 13:28caristuTriggers an Emergency Pack => No
2023-01-26 13:28caristuAssigned ToRetail => Triage Platform Base

There are no notes attached to this issue.