[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/323: script.js : code cleaning
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/323: script.js : code cleaning |
Date: |
Wed, 14 Mar 2018 17:38:07 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d24756853c1c1f37b5babf05040408af6a8e137e
Author: Dany De Bontridder <address@hidden>
Date: Mon Dec 18 22:17:18 2017 +0100
script.js : code cleaning
---
html/js/scripts.js | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 65192cd..3f08724 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -431,8 +431,8 @@ function cat_doc_remove(p_dt_id, p_dossier)
alert_box('erreur <br>' + rec );
return;
}
- nodeXML = html[0];
- row_id = getNodeText(nodeXML);
+ var nodeXML = html[0];
+ var row_id = getNodeText(nodeXML);
if (row_id === 'nok')
{
var message_node =
answer.getElementsByTagName('message');
@@ -769,16 +769,7 @@ function show_box(obj)
add_div(obj);
if (!obj.fixed)
{
- var sx = 0;
- if (window.scrollY)
- {
- sx = window.scrollY + 40;
- }
- else
- {
- sx = document.body.scrollTop + 40;
- }
- g(obj.id).style.top = sx + "px";
+ g(obj.id).style.top = calc(40) + "px";
show(obj.id);
}
else
@@ -1372,7 +1363,6 @@ function set_reconcile(obj)
try
{
- console.log(obj.elements);
var ctlc = obj.elements['ctlc'];
var tiers=obj.elements['tiers'];
if ( ! obj.elements['target']) return;
- [Noalyss-commit] [noalyss] branch master updated (689dfc2 -> 2711cee), Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 02/323: script.js : code cleaning,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 01/323: Fix problem with invalid unicode sequence, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 06/323: Fix : is now protected instead of private, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 09/323: Data_SQL : add doxygen doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 08/323: Data_SQL : add doxygen doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 07/323: Acc_Plan_MTable : add doxygen doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 11/323: redirect incorrect : fix small bug, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 13/323: Add Documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 18/323: cosmetic , add a button close for warning, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 17/323: query is prepared twice and cannot be called only once, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 05/323: Fix : script failed due to the lack of search_path, Dany De Bontridder, 2018/03/14