From 9eb2db4465cefa5dc331123c1b0a4df035545015 Mon Sep 17 00:00:00 2001 From: "Richard Mathot (OpenERP)" Date: Thu, 20 Feb 2014 13:00:44 +0100 Subject: [PATCH] [FIX] Typos bzr revid: rim@openerp.com-20140220120044-syde053xmunoy75z --- addons/hr_recruitment/static/src/js/job_position.js | 3 ++- addons/survey/static/src/js/survey.js | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/hr_recruitment/static/src/js/job_position.js b/addons/hr_recruitment/static/src/js/job_position.js index 06e880cb40d..43150117115 100644 --- a/addons/hr_recruitment/static/src/js/job_position.js +++ b/addons/hr_recruitment/static/src/js/job_position.js @@ -1,4 +1,5 @@ openerp.hr_recruitment = function (openerp) { + "use strict"; openerp.web_kanban.KanbanRecord.include({ on_card_clicked: function() { @@ -10,4 +11,4 @@ openerp.hr_recruitment = function (openerp) { }, }); -} \ No newline at end of file +}; diff --git a/addons/survey/static/src/js/survey.js b/addons/survey/static/src/js/survey.js index 3ff47795a56..de70fde7ed9 100644 --- a/addons/survey/static/src/js/survey.js +++ b/addons/survey/static/src/js/survey.js @@ -35,7 +35,7 @@ $(document).ready(function () { // Printing mode: will disable all the controls in the form if (_.isUndefined(submit_controller)) { $('.js_surveyform :input').prop('disabled', true); - print_mode = true + print_mode = true; } // Custom code for right behavior of radio buttons with comments box @@ -86,7 +86,7 @@ $(document).ready(function () { console.warn("[survey] Unable to load prefill data"); }); return prefill_def; - }; + } // Parameters for form submission $('.js_surveyform').ajaxForm({ @@ -129,7 +129,7 @@ $(document).ready(function () { // Activate the print dialog if needed if (print_mode){ window.print(); - }; + } }); console.debug("[survey] Custom JS for survey loaded!");