[IMP] survey: remove debug statements
Leftovers from debugging closes odoo/odoo#27768
This commit is contained in:
committed by
Martin Trigaux
parent
d4f83da1c3
commit
9e3583fc87
@@ -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!");
|
||||
|
||||
});
|
||||
|
||||
@@ -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!");
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user