[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 07/12: Tag : add color when selected
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 07/12: Tag : add color when selected |
Date: |
Wed, 16 Nov 2022 14:39:17 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6c807c9d47dbacb27a980ddbed71c95e1a5be9b0
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Nov 6 20:21:46 2022 +0100
Tag : add color when selected
---
include/class/tag_action.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/tag_action.class.php
b/include/class/tag_action.class.php
index 6e4c1fb52..5ae621a8e 100644
--- a/include/class/tag_action.class.php
+++ b/include/class/tag_action.class.php
@@ -76,7 +76,7 @@ class Tag_Action extends Tag
function update_search_cell($p_prefix)
{
$data=$this->get_data();
- echo '<span id="sp_'.$p_prefix.$data->t_id.'" class="tagcell">';
+ printf ('<span id="sp_%s%s" class="tagcell
tagcell-color%s">',$p_prefix,$data->t_id,$data->t_color);
echo h($data->t_tag);
echo HtmlInput::hidden($p_prefix.'tag[]', $data->t_id);
$js=sprintf("$('sp_".$p_prefix.$data->t_id."').remove();");
- [Noalyss-commit] [noalyss] 03/12: TVA javascript : add callback function, (continued)
- [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
- [Noalyss-commit] [noalyss] 07/12: Tag : add color when selected,
Dany De Bontridder <=