Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044110Retail ModulesWeb POSpublic2020-05-19 17:532020-05-21 09:54
adrianromero 
adrianromero 
normalminorhave not tried
closedfixed 
5
 
RR20Q3 
marvintm
No
0044110: Improve confirmation dialogs with Promises
With modern Javascript keywords async / await is very convenient to provide a way to display a dialog.

  if (await OB.DIALOGS.question({
      title: 'title',
      message: 'message'
  })) {
    console.log('User pressed OK');
  } else {
    console.log('User pressed CANCEL');
  }
N/A
No tags attached.
Issue History
2020-05-19 17:53adrianromeroNew Issue
2020-05-19 17:53adrianromeroAssigned To => Retail
2020-05-19 17:53adrianromeroTriggers an Emergency Pack => No
2020-05-19 18:10adrianromeroAssigned ToRetail => adrianromero
2020-05-19 18:10adrianromeroDescription Updatedbug_revision_view_page.php?rev_id=21076#r21076
2020-05-20 09:00hgbotCheckin
2020-05-20 09:00hgbotNote Added: 0120074
2020-05-20 09:00hgbotStatusnew => resolved
2020-05-20 09:00hgbotResolutionopen => fixed
2020-05-20 09:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/950a024f4dbcb75d87a1447b5437f064f9aefb63 [^]
2020-05-20 09:04adrianromeroReview Assigned To => marvintm
2020-05-21 09:54marvintmStatusresolved => closed
2020-05-21 09:54marvintmFixed in Version => RR20Q3

Notes
(0120074)
hgbot   
2020-05-20 09:00   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 950a024f4dbcb75d87a1447b5437f064f9aefb63
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue May 19 18:11:55 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/950a024f4dbcb75d87a1447b5437f064f9aefb63 [^]

Fixes ISSUE-44110: Improve confirmation dialogs with Promises

---
M web/org.openbravo.mobile.core/source/utils/dialogs.js
---