From aad3efbd5e07a346d79e89597da5cefd3443fcf2 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 10 Jan 2018 14:57:58 +0100 Subject: [PATCH] Misplacing of box due to a change in the id name --- html/js/acc_ledger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js index 1b7558612..94bc14b8b 100644 --- a/html/js/acc_ledger.js +++ b/html/js/acc_ledger.js @@ -676,7 +676,7 @@ function view_history_account(p_value, dossier) remove_waiting_box(); add_div(popup); success_box(req, xml); - g(id).style.top = calcy(140 + (layer * 3)) + "px"; + $(idbox).style.top = calcy(140 + (layer * 3)) + "px"; } } ); @@ -748,7 +748,7 @@ function view_history_card(p_value, dossier) remove_waiting_box(); add_div(popup); success_box(req, xml); - g(id).style.top = calcy(140 + (layer * 3)) + "px"; + g(idbox).style.top = calcy(140 + (layer * 3)) + "px"; } } );