diff options
| author | Dharmraj Jhala (OpenERP) <dizzy.zala@gmail.com> | 2014-02-25 11:02:04 +0530 |
|---|---|---|
| committer | Dharmraj Jhala (OpenERP) <dizzy.zala@gmail.com> | 2014-02-25 11:02:04 +0530 |
| commit | c6917b9c074f3f2c19cac1dc3e05c8a3d2cadbed (patch) | |
| tree | 6a17e259f27e029458207671d10fec50b5c425be /addons/survey/static | |
| parent | b2688a37f84a505d8e334f8b0325b4747d440170 (diff) | |
| parent | 9eb2db4465cefa5dc331123c1b0a4df035545015 (diff) | |
[MERGE] with trunk-survey2-rim addons branch
bzr revid: dizzy.zala@gmail.com-20140225053204-mra08nfvumkxyixa
Diffstat (limited to 'addons/survey/static')
| -rw-r--r-- | addons/survey/static/src/js/survey.js | 6 |
1 files changed, 3 insertions, 3 deletions
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!"); |
