summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-07-09 15:20:37 +0000
committerDavid Beguin <dbe@odoo.com>2019-07-16 13:49:14 +0000
commit3a804ecac8fb55324ba4dc233eb40e9508679175 (patch)
treee4fe54da4bc66ebf9da14299c032fa6a20b8a69d /addons/web/static/src/js/views/basic
parent3b223c11fdffd443ba3c53936bb4f43389859072 (diff)
[FIX] mail : fix post message callback error
When posting a message (here is the livechat use case), the _postMessage function can call the callback function. but this parameter is not mandatory. If the caller of this function doesn't need a callback function to be called after execution, the _postMessage function was crashing as callback is not defined. This commit fix this _postMessage function by checking that callback is defined before calliing it. Pre-required for Task ID: 2028059 Fix Task : 2037048 PR #34917 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions