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; }
});
}