[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();
- [Noalyss-commit] [noalyss] branch master updated (7749f97eb -> 1a1bcd567), Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 02/12: code cleaning : rename search_poste to search_accounting,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 03/12: TVA javascript : add callback function, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 08/12: Set current user in PostGresql session (config) so it can be directly used directly by triggers and pgplsql to track user's changes, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 09/12: Fix typo due to code cleaning, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 06/12: Add function __toString, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 04/12: INUM , IText and ITVAPopup add the attribute (for javascript), Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 01/12: WYSIWYG Editor integration and improve of waiting_box, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 05/12: set require to falser and add function __toString, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 10/12: useless file, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 11/12: Clean code : dead code, improve debug, comments, Dany De Bontridder, 2022/11/16
- [Noalyss-commit] [noalyss] 12/12: Save the current user in a PostgreSQL session variable noalyss.user_login, Dany De Bontridder, 2022/11/16