[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 73/107: Cosmetic & bug fix for SELECT_BOX
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 73/107: Cosmetic & bug fix for SELECT_BOX |
Date: |
Mon, 26 Aug 2019 10:32:04 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 282c53ef9064d85d8a6ca7f471e4d4411cdc3256
Author: Dany De Bontridder <address@hidden>
Date: Wed Aug 7 15:23:48 2019 +0200
Cosmetic & bug fix for SELECT_BOX
---
include/lib/html_input.class.php | 3 ++-
include/lib/select_box.class.php | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index 41c1183..421861c 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -983,10 +983,11 @@ class HtmlInput
static function filter_list($p_list_id)
{
$r="<span>";
+ $r.='<span class=" icon"></span>';
$r.=sprintf('<input id="search_%s" type="TEXT" class="input_text"
name="filter_list%s" onkeyup="filter_list(this,\'%s\')">',
$p_list_id,$p_list_id,$p_list_id);
- $r.=sprintf('<input type="button" class="smallbutton"
onclick="$(\'search_%s\').value=\'\';filter_list(this,\'%s\')">',$p_list_id,$p_list_id);
+ $r.=sprintf('<input type="button" class="smallbutton"
onclick="$(\'search_%s\').value=\'\';filter_list(\'search_%s\',\'%s\')"
value="x">',$p_list_id,$p_list_id,$p_list_id);
$r.='</span>';
return $r;
}
diff --git a/include/lib/select_box.class.php b/include/lib/select_box.class.php
index c2eb361..82c5547 100644
--- a/include/lib/select_box.class.php
+++ b/include/lib/select_box.class.php
@@ -93,8 +93,8 @@ class Select_Box
// Show the filter if there is one,
if ( $this->filter != "" ) {
- echo $this->filter;
- echo HtmlInput::filter_list($list_id);
+
+ echo HtmlInput::filter_list($list_id);
}
// Print the list of possible options
- [Noalyss-commit] [noalyss] 29/107: Bug in exception : gettext cannot accept 2 args, (continued)
- [Noalyss-commit] [noalyss] 29/107: Bug in exception : gettext cannot accept 2 args, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 33/107: Small bug use the date instead of now for table version, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 40/107: PHPUnit : adapt to new version, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 61/107: Documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 62/107: #1316: Notes tableau de bord - pas de limite ou choix., Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 69/107: Fix test, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 50/107: Documentation : automatic format breaks doxygen tag, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 43/107: fixup! Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 65/107: Code cleaning : remove obsolete, and direct access to, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 74/107: New : manage_table_sql has new function (input_custom and display_row_custom) for handling special data, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 73/107: Cosmetic & bug fix for SELECT_BOX,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 28/107: Debug : add function tracedebug, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 32/107: Cosmetic : font new symbol Cosmetic : CSS padding for div.menu2 a.mtitle, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 58/107: javascript Add new function json_response, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 52/107: Adapt Unit Test, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 76/107: fixup! Improve message progress bar + translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 78/107: Purpose is to contain all the prepared query called from different locations, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 83/107: Task#1734 New : Add PRINTTVA to have a summary of VAT by ledger, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 93/107: Documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 92/107: Code : remove direct use of $_GET, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 39/107: Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26