noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/03: remove console message


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/03: remove console message
Date: Thu, 15 Oct 2015 20:53:29 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit f92738c5f6c0907947bbdc9f3a79a50e06dc930b
Author: Dany De Bontridder <address@hidden>
Date:   Thu Oct 15 22:07:29 2015 +0200

    remove console message
---
 html/js/admin.js               |    3 +--
 html/js/card.js                |    1 +
 html/js/scripts.js             |    1 +
 html/js/todo_list.js           |    3 ++-
 include/template/param_jrn.php |    1 -
 5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/html/js/admin.js b/html/js/admin.js
index 5bf85a2..12ea004 100644
--- a/html/js/admin.js
+++ b/html/js/admin.js
@@ -34,7 +34,6 @@ function folder_display(p_user)
      */
     var p_filter = "";
     if ($('database_filter_input')) {
-        console.log($('database_filter_input').value);
         p_filter = $('database_filter_input').value;
     }
     /*
@@ -172,7 +171,7 @@ function display_admin_answer(p_dossier,p_action)
             folder.show();
             remove_waiting_box();
         } catch (e) {
-            console.log(e.message);
+                alert_box(e.message);
         }
         }
     });
diff --git a/html/js/card.js b/html/js/card.js
index 48bd657..44c7743 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -911,6 +911,7 @@ function 
action_remove_concerned(p_dossier,p_fiche_id,p_action_id)
                         $('concerned_card_td').innerHTML = code_html;
                     } catch (e) {
                         if ( console) { console.log('Erreur ') + e.message;}
+                        alert_box('action_remove_concerned '+e.message);
                     }
                 }
             }
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 1993d68..2550c20 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -2809,6 +2809,7 @@ function unselect_other_tab(p_tab)
     } catch (e) {
         if (console)
             console.log(e.message);
+        alert_box('unselect_other_tab '+e.message);
     }
 }
 /**
diff --git a/html/js/todo_list.js b/html/js/todo_list.js
index c34b995..1df2eda 100644
--- a/html/js/todo_list.js
+++ b/html/js/todo_list.js
@@ -152,7 +152,8 @@ function todo_list_save(p_form)
                     );
         }
         catch (e) {
-            console.log(e.message);
+            if ( console) console.log(e.message);
+            alert_box('todo_list_save '+e.message);
             return false;
         }
         return false;
diff --git a/include/template/param_jrn.php b/include/template/param_jrn.php
index d07c7ed..7833a1a 100644
--- a/include/template/param_jrn.php
+++ b/include/template/param_jrn.php
@@ -361,7 +361,6 @@ echo $str_add_button;
    {
        hide_ledger();
        var 
ch=$('p_jrn_type_select_id').options[$('p_jrn_type_select_id').selectedIndex].value;
-       console.log(" div = "+ch);
        $(ch+'_div').style.display='block';
        switch (ch) {
            case 'FIN':



reply via email to

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