[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
This commit is contained in:
Nicolas Lempereur
2016-07-25 15:00:27 +02:00
parent 1089dcf15c
commit 41ba673524
@@ -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){