diff --git a/addons/survey/static/src/js/survey.js b/addons/survey/static/src/js/survey.js index 145005790ec..73a0ccb73e5 100644 --- a/addons/survey/static/src/js/survey.js +++ b/addons/survey/static/src/js/survey.js @@ -20,8 +20,6 @@ if(!the_form.length) { return $.Deferred().reject("DOM doesn't contain '.js_surveyform'"); } - console.debug("[survey] Custom JS for survey is loading..."); - var prefill_controller = the_form.attr("data-prefill"); var submit_controller = the_form.attr("data-submit"); var scores_controller = the_form.attr("data-scores"); @@ -167,12 +165,6 @@ if(!the_form.length) { } }); - // // Handles the event when a question is focused out - // $('.js_question-wrapper').focusout( - // function(){ - // console.debug("[survey] Focus lost on question " + $(this).attr("id")); - // }); - function load_locale(){ var url = "/web/webclient/locale/" + context.get().lang || 'en_US'; return ajax.loadJS(url); @@ -208,6 +200,4 @@ if(!the_form.length) { display_scores(); } - console.debug("[survey] Custom JS for survey loaded!"); - }); diff --git a/addons/survey/static/src/js/survey_result.js b/addons/survey/static/src/js/survey_result.js index 6e2351ae39a..1cc571ed78c 100644 --- a/addons/survey/static/src/js/survey_result.js +++ b/addons/survey/static/src/js/survey_result.js @@ -7,8 +7,6 @@ if(!$('.js_surveyresult').length) { return $.Deferred().reject("DOM doesn't contain '.js_surveyresult'"); } - console.debug("[survey] Survey Result JS is loading..."); - //Script For Pagination var survey_pagination = $('.pagination'); $.each(survey_pagination, function(index, pagination){ @@ -164,6 +162,4 @@ if(!$('.js_surveyresult').length) { } }); - console.debug("[survey] Survey Result JS loaded!"); - });