From 862bad078efe0ea09f7fd5f880286ad5d7351059 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Mon, 28 Jul 2025 12:06:20 +0200 Subject: [PATCH] Fix typo --- html/export.php | 1 + html/js/noalyss_script.js | 4 ++-- include/class/acc_ledger.class.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/html/export.php b/html/export.php index df130d472..be20c54ed 100644 --- a/html/export.php +++ b/html/export.php @@ -39,6 +39,7 @@ set_language(); // load message for javascript if (isset ($_REQUEST['loadjs']) && $_REQUEST['loadjs']=='message') { + header('Content-Type: text/javascript'); include_once NOALYSS_INCLUDE."/lib/message_javascript.php"; return; } diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js index a4f64aeec..d63596459 100644 --- a/html/js/noalyss_script.js +++ b/html/js/noalyss_script.js @@ -808,7 +808,7 @@ function waiting_box() { id: 'wait_box', html: loading() + '

' + content[65] + '

' }; var y = fixed_position(10, 250) - obj.style = y + ";width:20%;margin-left:40%;"; + obj.style = y + ";width:281px;margin-left:40%;"; if (document.getElementById('wait_box')) { removeDiv('wait_box'); } @@ -4713,4 +4713,4 @@ Widget.prototype.toggle_full_size=function (widget_domid) { (function(){window.addEventListener("onload", (event) => {remove_waiting_box()});})(); */ -var bookmark=new Bookmark(); \ No newline at end of file +var bookmark=new Bookmark(); diff --git a/include/class/acc_ledger.class.php b/include/class/acc_ledger.class.php index 627ab7632..4c459ec83 100644 --- a/include/class/acc_ledger.class.php +++ b/include/class/acc_ledger.class.php @@ -69,7 +69,7 @@ class Acc_Ledger extends jrn_def_sql /** * @brief construct * @param $p_cn database connexion - * @param $p_id jrn.jrn_def_id + * @param $p_id (int) ledger idf jrn.jrn_def_id */ function __construct($p_cn, $p_id) {