diff --git a/html/js/admin.js b/html/js/admin.js index 5bf85a2fd..12ea00490 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 48bd657aa..44c774316 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 1993d6895..2550c202c 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 c34b995cd..1df2eda32 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 d07c7ed1d..7833a1aa9 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':