From e9d8bd74dedea8327f6b59d97fec9dccbb33393f Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 13 Dec 2017 00:33:59 +0100 Subject: [PATCH] =?UTF-8?q?Task=20#0001507:=20Click=20sur=20d=C3=A9tail=20?= =?UTF-8?q?op=C3=A9rations=20appara=C3=AEt=20trop=20haut=20Problem=20comes?= =?UTF-8?q?=20from=20window.onload=20loaded=20with=20detail=20operation.?= =?UTF-8?q?=20Move=20into=20do.php=20,=20recherche.php=20,=20popup.php=20f?= =?UTF-8?q?rom=20script.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/do.php | 15 ++++++++++++++- html/js/scripts.js | 13 ++----------- html/popup.php | 15 ++++++++++++++- html/recherche.php | 15 ++++++++++++++- 4 files changed, 44 insertions(+), 14 deletions(-) diff --git a/html/do.php b/html/do.php index 7f123de8d..bee66ad0c 100644 --- a/html/do.php +++ b/html/do.php @@ -208,7 +208,20 @@ if ($oPeriode->load() == -1) $module_selected = -1; - +?> + +'; @@ -2920,16 +2920,7 @@ function alert_box(p_message) smoke.alert(p_message,false , {ok:'ok',classname:"inner_box"}); } -/** - * All the onload must be here otherwise the other will overwritten - * @returns {undefined} - */ -window.onload=function () -{ - create_anchor_up(); - init_scroll(); - sorttable.init -} + /** * @brief Colorize the rows of the table * @param string p_table id of the table diff --git a/html/popup.php b/html/popup.php index 9bfdcc74e..29002f4cc 100644 --- a/html/popup.php +++ b/html/popup.php @@ -42,7 +42,20 @@ if ( ! isset ($_SESSION['g_user'] ) ) html_page_start($_SESSION['g_theme']); echo '
'; - +?> + + + +search_form(); echo '
';