Task #1091 - ajout de postes comptable
Ajout du bouton UP dans plan comptable
This commit is contained in:
parent
1080acfa47
commit
a9bb3796d5
1 changed files with 5 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ echo '<div id="acc_update" class="inner_box" style="display:none;position:absolu
|
||||||
|
|
||||||
$g_start=HtmlInput::default_value_get('p_start',1);
|
$g_start=HtmlInput::default_value_get('p_start',1);
|
||||||
?>
|
?>
|
||||||
|
<a id="top"></a>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -129,7 +129,7 @@ for ($i=0; $i <$MaxRow; $i++):
|
||||||
endfor;
|
endfor;
|
||||||
?>
|
?>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
|
<div id="go_up" class="inner_box" style="padding:0px;left:auto;width:auto;display:none;position:fixed;top:250px;right:20px"><a class="button" href="#top" ><?php echo _('Haut');?></a></div>
|
||||||
<input type="button" id="pcmn_update_add_bt2" class="smallbutton" value="<?php echo _('Ajout poste comptable'); ?>">
|
<input type="button" id="pcmn_update_add_bt2" class="smallbutton" value="<?php echo _('Ajout poste comptable'); ?>">
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -141,6 +141,9 @@ endfor;
|
||||||
{
|
{
|
||||||
pcmn_update(<?php echo Dossier::id()?>,'');
|
pcmn_update(<?php echo Dossier::id()?>,'');
|
||||||
}
|
}
|
||||||
|
window.onscroll=function () {
|
||||||
|
$('go_up').show();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
html_page_stop();
|
html_page_stop();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue