diff --git a/html/export.php b/html/export.php index fe2e02947..e048087e9 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 6dfc06adf..3e2d9f27e 100644 --- a/html/js/noalyss_script.js +++ b/html/js/noalyss_script.js @@ -792,7 +792,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 ($('wait_box')) { removeDiv('wait_box'); } diff --git a/include/class/acc_ledger.class.php b/include/class/acc_ledger.class.php index 788df28e5..ae2ffb0d0 100644 --- a/include/class/acc_ledger.class.php +++ b/include/class/acc_ledger.class.php @@ -48,7 +48,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) {