From 41ba673524b91feed220dae0e255c1324e8c9442 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 22 Jul 2016 17:04:09 +0200 Subject: [PATCH] [FIX] account: popover payment information unclickable In the account invoice the payments are shown and a popover with more information is displayed when clicking on an (i) icon. In this popover two buttons are available, but the used type of popover disappear immediately when clicking on them, thus the buttons were directly removed and would not work. This commit add a delay when hiding the popover so the buttons functionnality is not lost. opw-680095 --- addons/account/static/src/js/account_payment_widget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/static/src/js/account_payment_widget.js b/addons/account/static/src/js/account_payment_widget.js index 5a1aae22291..932de22eef5 100644 --- a/addons/account/static/src/js/account_payment_widget.js +++ b/addons/account/static/src/js/account_payment_widget.js @@ -51,6 +51,7 @@ var ShowPaymentLineWidget = form_common.AbstractField.extend({ 'placement': 'left', 'title': 'Payment Information', 'trigger': 'focus', + 'delay': { "show": 0, "hide": 100 }, }; $(k).popover(options); $(k).on('shown.bs.popover', function(event){