diff --git a/html/index.php b/html/index.php
index a723e5fd2..224b4bc9f 100644
--- a/html/index.php
+++ b/html/index.php
@@ -149,7 +149,7 @@ margin:1px;
font-size:12px;
color:white;
font-weight: bold;
-
+border:0px;
text-decoration:none;
font-family: helvetica,arial,sans-serif;
background-image: url("image/bg-submit2.gif");
diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js
index 43c3569ca..2eebc622b 100644
--- a/html/js/acc_ledger.js
+++ b/html/js/acc_ledger.js
@@ -644,7 +644,7 @@ function view_history_account(p_value,dossier)
onSuccess:function (req,xml)
{
success_box(req,xml);
- g(id).style.top=calcy(140+(layer*3));
+ g(id).style.top=calcy(140+(layer*3))+"px";
g(id).style.left="10%";
g(id).style.width='80%';
}
@@ -666,7 +666,7 @@ function update_history_account(obj)
onSuccess:function (req,xml)
{
success_box(req,xml);
- g(obj.div).style.top=calcy(140+(layer*3));
+ g(obj.div).style.top=calcy(140+(layer*3))+"px";
g(obj.div).style.left="10%";
g(obj.div).style.width='80%';
}
@@ -702,7 +702,7 @@ var popup={'id':
onSuccess:function (req,xml)
{
success_box(req,xml);
- g(id).style.top=calcy(140+(layer*3));
+ g(id).style.top=calcy(140+(layer*3))+"px";
g(id).style.left="10%";
g(id).style.width='80%';
}
@@ -723,7 +723,7 @@ function update_history_card(obj)
onSuccess:function (req,xml)
{
success_box(req,xml);
- g(obj.div).style.top=calcy(140+(layer*3));
+ g(obj.div).style.top=calcy(140+(layer*3))+"px";
g(obj.div).style.left="10%";
g(obj.div).style.width='80%';
}
@@ -786,7 +786,7 @@ function reverseOperation(obj)
function modifyOperation(p_value, dossier)
{
layer++;
- id = 'det' + layer;
+ var id = 'det' + layer;
waiting_box();
var querystring = 'gDossier=' + dossier + '&act=de&jr_id=' + p_value + '&div=' + id;
@@ -802,7 +802,8 @@ function modifyOperation(p_value, dossier)
remove_waiting_box();
add_div(popup);
success_box(xml, txt);
- g(id).style.top = calcy(100 + (layer * 3));
+ $(id).style.position="absolute";
+ $(id).style.top = calcy(100 + (layer * 3))+"px";
g(id).style.left = '10%';
g(id).style.width = "80%";
}
diff --git a/html/js/accounting_item.js b/html/js/accounting_item.js
index 4b6bc7ffb..39c6c5340 100644
--- a/html/js/accounting_item.js
+++ b/html/js/accounting_item.js
@@ -48,8 +48,8 @@ function PcmnUpdate(p_value,p_lib,p_parent,p_type,p_dossier)
$('p_libu').value=p_lib;
$('p_parentu').value=p_parent;
$('p_typeu').value=p_type;
- $('acc_update').style.top=posY+offsetY;
- $('acc_update').style.left=posX+offsetX;
+ $('acc_update').style.top=posY+offsetY+"px";
+ $('acc_update').style.left=posX+offsetX+"px";
$('acc_update').show();
}
/**
@@ -75,7 +75,7 @@ function search_poste(obj)
sx=document.body.scrollTop+60;
}
- var div_style="top:"+sx;
+ var div_style="top:"+sx+"px";
removeDiv('search_account');
add_div({id:'search_account',cssclass:'inner_box',html:loading(),style:div_style,drag:true});
@@ -93,7 +93,7 @@ function search_poste(obj)
if ( obj.account)
{
queryString+="&c="+obj.account;
- }
+ }
if ( obj.label)
{
queryString+="&l="+obj.label;
diff --git a/html/js/card.js b/html/js/card.js
index a92dda634..b7282f2b5 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -104,7 +104,7 @@ function search_card(obj)
sx=document.body.scrollTop+60;
}
- var div_style="top:"+sx+";width:60%;heigth:80%";
+ var div_style="top:"+sx+"px;width:60%;heigth:80%";
add_div({id:'search_card',cssclass:'inner_box',html:loading(),style:div_style,drag:true});
var action=new Ajax.Request ( 'ajax_card.php',
@@ -330,7 +330,7 @@ function fill_ipopcard(obj)
var nTop=posY-40;
//var nLeft=posX-20;
var nLeft="20%";
- var str_style="top:"+nTop+";left:"+nLeft+";width:45em;height:auto";
+ var str_style="top:"+nTop+"px;left:"+nLeft+";width:45em;height:auto";
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':true};
diff --git a/html/js/infobulle.js b/html/js/infobulle.js
index b09f033c9..99426dca0 100644
--- a/html/js/infobulle.js
+++ b/html/js/infobulle.js
@@ -67,7 +67,7 @@ content[36]='En utilisant les dates d\'échéance ou de paiement, seuls les jour
function showBulle(p_ctl){
d=document.getElementById('bulle');
d.innerHTML=content[p_ctl];
- d.style.top=posY+offsetY;
+ d.style.top=posY+offsetY+"px";
d.style.left=posX+offsetX;
d.style.visibility="visible";
}
diff --git a/html/js/prototype.js b/html/js/prototype.js
index 04a477939..37dd39ac2 100644
--- a/html/js/prototype.js
+++ b/html/js/prototype.js
@@ -1,4 +1,4 @@
-/* Prototype JavaScript framework, version 1.7
+/* Prototype JavaScript framework, version 1.7.1
* (c) 2005-2010 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
@@ -8,7 +8,7 @@
var Prototype = {
- Version: '1.7',
+ Version: '1.7.1',
Browser: (function(){
var ua = navigator.userAgent;
@@ -49,7 +49,7 @@ var Prototype = {
})()
},
- ScriptFragment: '