From 18fbd1ad8dc01d4b8b44245b140404ac79cbea1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20BOYER?= <t.boyer@si17.lan>
Date: Thu, 13 Feb 2025 14:11:19 +0100
Subject: [PATCH] console.log

---
 templates/Registry/Conformite_traitement/list.html.twig | 1 -
 templates/User/Collectivity/edit.html.twig              | 1 -
 templates/User/Collectivity/list.html.twig              | 2 +-
 templates/User/Profile/collectivity_edit.html.twig      | 1 -
 4 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/templates/Registry/Conformite_traitement/list.html.twig b/templates/Registry/Conformite_traitement/list.html.twig
index 956f440eb..1325257d6 100644
--- a/templates/Registry/Conformite_traitement/list.html.twig
+++ b/templates/Registry/Conformite_traitement/list.html.twig
@@ -185,7 +185,6 @@
 
     <script>
         function cbColRenderFunction (data, type, full, meta){
-            console.log(data, type, full, meta)
             return data
         }
 
diff --git a/templates/User/Collectivity/edit.html.twig b/templates/User/Collectivity/edit.html.twig
index db3a6d4c4..ceb745e56 100644
--- a/templates/User/Collectivity/edit.html.twig
+++ b/templates/User/Collectivity/edit.html.twig
@@ -42,7 +42,6 @@
             $("#collectivity_reviewData_logo").after('<div style="margin-top:1em"><img height="80" src="{{ object.reviewData.logo }}" /><button id="setDeleteLogo" class="btn btn-link"><i aria-hidden="true" class="fa fa-trash"></i> Supprimer le logo</button></div>')
             $("body").on('click', '#setDeleteLogo', function(ev) {
                 ev.preventDefault()
-                console.log('click', ev)
                 $(ev.target).parent().remove()
                 $('#collectivity_reviewData_deleteLogo').val(1);
             })
diff --git a/templates/User/Collectivity/list.html.twig b/templates/User/Collectivity/list.html.twig
index 82b3b0e23..338e10d72 100644
--- a/templates/User/Collectivity/list.html.twig
+++ b/templates/User/Collectivity/list.html.twig
@@ -255,7 +255,7 @@
                     $('body').append(form);
                     form.submit();
                 }).fail(function(err) {
-                    console.log(err)
+                    // console.log(err)
                 })
             })
         }
diff --git a/templates/User/Profile/collectivity_edit.html.twig b/templates/User/Profile/collectivity_edit.html.twig
index c4e716480..93081c030 100644
--- a/templates/User/Profile/collectivity_edit.html.twig
+++ b/templates/User/Profile/collectivity_edit.html.twig
@@ -197,7 +197,6 @@
             $("#collectivity_reviewData_logo").after('<div style="margin-top:1em"><img height="80" src="{{ object.reviewData.logo }}" /><button id="setDeleteLogo" class="btn btn-link"><i aria-hidden="true" class="fa fa-trash"></i> Supprimer le logo</button></div>')
             $("body").on('click', '#setDeleteLogo', function(ev) {
                 ev.preventDefault()
-                console.log('click', ev)
                 $(ev.target).parent().remove()
                 $('#collectivity_reviewData_deleteLogo').val(1);
             })
-- 
GitLab