noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/12: code cleaning : rename search_poste to


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/12: code cleaning : rename search_poste to search_accounting
Date: Wed, 16 Nov 2022 14:39:13 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit cb86c647762cac037c175921fb691527ff250ca8
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Nov 5 17:11:04 2022 +0100

    code cleaning : rename  search_poste to search_accounting
---
 html/js/accounting_item.js   | 2 +-
 include/lib/iposte.class.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/js/accounting_item.js b/html/js/accounting_item.js
index 59d5a0478..1a0292080 100644
--- a/html/js/accounting_item.js
+++ b/html/js/accounting_item.js
@@ -29,7 +29,7 @@
  * - acc_query for the initial query
  *@see ajax_poste.php
  */
-function search_poste(obj)
+function search_accounting(obj)
 {
        var sx=0;
        if ( window.scrollY)
diff --git a/include/lib/iposte.class.php b/include/lib/iposte.class.php
index f0331ef88..4c0a8ee0c 100644
--- a/include/lib/iposte.class.php
+++ b/include/lib/iposte.class.php
@@ -126,7 +126,7 @@ class IPoste extends HtmlInput
     public function dsp_button()
     {
                $this->id=($this->id=="")?$this->name:$this->id;
-        $javascript='search_poste(this)';
+        $javascript='search_accounting(this)';
         $button=Icon_Action::icon_magnifier($this->id."_bt", $javascript);
         /*  add the property */
         $sc=$this->get_js_attr();



reply via email to

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