noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/02: Button hide and close for DGBox


From: dwm
Subject: [Noalyss-commit] [noalyss] 02/02: Button hide and close for DGBox
Date: Sat, 9 Mar 2024 07:42:44 -0500 (EST)

sparkyx pushed a commit to branch unstable
in repository noalyss.

commit 39ebe194904be65de0bcdb4cb0f24bf23b3150aa
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Mar 9 13:28:58 2024 +0100

    Button hide and close for DGBox
---
 include/class/acc_operation.class.php     | 1 +
 include/template/ledger_detail_bottom.php | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/class/acc_operation.class.php 
b/include/class/acc_operation.class.php
index f2b144f30..ceb72b3f2 100644
--- a/include/class/acc_operation.class.php
+++ b/include/class/acc_operation.class.php
@@ -952,6 +952,7 @@ EOF;
         $r.=HtmlInput::simple_array_to_hidden($array);
         $r.=HtmlInput::hidden("e_comm",$operation->det->jr_comment);
         $r.=HtmlInput::submit(uniqid(), _("Dupliquer"));
+        $r.=HtmlInput::button_close("duplicate_operation_div");
         $r.='</form>';
         
         
diff --git a/include/template/ledger_detail_bottom.php 
b/include/template/ledger_detail_bottom.php
index 0512a3c8c..fcb7671a7 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -396,6 +396,7 @@ echo '</form>';
   $r.='<p  style="text-align:center">';
   $r.=HtmlInput::submit('x','accepter',
           'onclick="confirm_box($(\'form_'.$div.'\'),content[50],function () 
{$(\'form_'.$div.'\').divname=\''.$div.'\';reverseOperation($(\'form_'.$div.'\'))});
 return false"');
+  $r.=HtmlInput::button_hide( "ext".$div);
     $r.="</p>";
   $r.='</form>';
   echo $r;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]