WIP: Aureplop/kpsul js refactor #501

Draft
delobell wants to merge 215 commits from aureplop/kpsul_js_refactor into master
Showing only changes of commit f0a80561ed - Show all commits

View file

@ -131,10 +131,6 @@
<input type="hidden" id="article_id" value=""> <input type="hidden" id="article_id" value="">
</div> </div>
<div id="articles_data"> <div id="articles_data">
<table>
<tbody>
</tbody>
</table>
</div> </div>
</div> </div>
<div class="row kpsul_middle_left_bottom"> <div class="row kpsul_middle_left_bottom">
@ -833,10 +829,10 @@ $(document).ready(function() {
function hardReset(give_tri_focus=true) { function hardReset(give_tri_focus=true) {
coolReset(give_tri_focus); coolReset(give_tri_focus);
kpsul.checkout_manager.reset(); kpsul.checkout_manager.reset();
kpsul.article_manager.reset_data();
resetPreviousOp(); resetPreviousOp();
khistory.reset(); khistory.reset();
Config.reset(function() { Config.reset(function() {
kpsul.article_manager.reset_data();
displayAddcost(); displayAddcost();
getHistory(); getHistory();
}); });