noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 15/27: @0001735: icone poubelle catégorie de


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 15/27: @0001735: icone poubelle catégorie de fiche
Date: Wed, 4 Sep 2019 15:24:57 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 76bd0fd6166a49920073d130322d09e04859a03f
Author: Dany De Bontridder <address@hidden>
Date:   Thu Aug 29 19:10:06 2019 +0200

    @0001735: icone poubelle catégorie de fiche
---
 include/class/template_card_category.class.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/class/template_card_category.class.php 
b/include/class/template_card_category.class.php
index b5b7e43..e74f8f3 100644
--- a/include/class/template_card_category.class.php
+++ b/include/class/template_card_category.class.php
@@ -134,10 +134,9 @@ class Template_Card_Category extends Manage_Table_SQL
                 if (!in_array($a_attribut[$i]['ad_id'], [ATTR_DEF_NAME, 
ATTR_DEF_QUICKCODE])&&$used==0)
                 {
                     // allow to remove attribute
-                    
$js=sprintf("onclick=\"category_card.remove_attribut('%s','%s','%s',%d)\"",
+                    
$js=sprintf("category_card.remove_attribut('%s','%s','%s',%d)",
                             Dossier::id(), $this->table->frd_id, $objname, 
$a_attribut[$i]['ad_id']);
-                    echo HtmlInput::anchor(SMALLX, "", $js,
-                            ' class="smallbutton" 
style="padding:0px;display:inline" ');
+                    echo Icon_Action::trash(uniqid(), $js);
                 }
                 echo '</li>';
             }



reply via email to

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