From bc6ecda0c8c16a197a13726e994b3978d2fe074a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Sun, 26 Mar 2017 14:59:21 +0200 Subject: [PATCH] fix addcost kspul --- kfet/templates/kfet/kpsul.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kfet/templates/kfet/kpsul.html b/kfet/templates/kfet/kpsul.html index 15f83076..d69d6829 100644 --- a/kfet/templates/kfet/kpsul.html +++ b/kfet/templates/kfet/kpsul.html @@ -862,7 +862,7 @@ $(document).ready(function() { addcost_html .find('.addcost_for').text(Config.get('addcost_for')).end() .find('.addcost_amount').text(Config.get('addcost_amount').toFixed(2)).end(); - checkout_container.prepend(addcost_html); + kpsul.checkout_manager._$container.prepend(addcost_html); $('body').css('animation', 'colorchange 3s infinite'); } } @@ -919,7 +919,7 @@ $(document).ready(function() { } }); }, - onClose: function() { this._lastFocused = account_manager._$input_trigramme; } + onClose: function() { this._lastFocused = kpsul.account_manager.selection._$input; } }); }