diff --git a/html/ajax_misc.php b/html/ajax_misc.php index 068aaf1c2..3806c8d18 100644 --- a/html/ajax_misc.php +++ b/html/ajax_misc.php @@ -265,7 +265,7 @@ jr_comment,j_montant, j_debit,jr_internal from jrnx join jrn on (j_grpt=jr_grpt_ array('label'=>_('Credit'),'value'=>1), array('label'=>_('Les 2'),'value'=>3) ); - $iside->selected=(isset($side))?$side:($row['j_debit']=='t')?0:1; + $iside->selected=(isset($side))?$side:(($row['j_debit']=='t')?0:1); $side=(isset($side))?$side:($row['j_debit']=='t')?0:1; $r.=tr($line.td($iside->input())); $r.=''; diff --git a/html/js/acc_ledger.js b/html/js/acc_ledger.js index aacf45143..ef5ac9e77 100644 --- a/html/js/acc_ledger.js +++ b/html/js/acc_ledger.js @@ -492,11 +492,11 @@ function dsp_letter(obj) { onSuccess:success_dsp_letter } ); - $('list').hide(); - $('search').hide(); + g('search').style.display='none'; + g('list').style.display='none'; $('detail').innerHTML=''; - $('detail').show(); - } catch(e){alert('dsp_letter '+e.message);} + g('detail').style.display='block'; + } catch(e){alert('dsp_letter failed '+e.message);} } function success_dsp_letter(req) { diff --git a/html/modify_op.php b/html/modify_op.php index b3cdee84d..4b9caafbe 100644 --- a/html/modify_op.php +++ b/html/modify_op.php @@ -110,7 +110,7 @@ if ( $action == 'update' ) { else $view=''; @@ -133,7 +133,7 @@ if ( $action == 'update' ) { else $view.='
'; - $view.='

Vue expert

'; + $view.='

Vue expert

'; $view.='
'; $view.=dossier::hidden(); $readonly=($p_view=='S')?0:1; @@ -147,7 +147,7 @@ if ( $action == 'update' ) { if ( $User->check_jrn($p_jrn) == 'W') $view.=($p_view == 'E') ?HtmlInput::submit('update_record','Enregistre'):''; $view.="      "; - $view.=''; + $view.=''; $view.='
'; @@ -163,7 +163,7 @@ if ( $action=="view_ca") { $p_id=$_GET["line"]; $view='
'; - $view.='

Vue simple

'; + $view.='

Vue simple

'; $view.=ShowOperationUser($cn,$p_id,0); $view.='
'; $view.=''; @@ -174,7 +174,7 @@ if ( $action=="view_ca") { $view.='