From 229f9d09d8fdddf6d48b095713cbcb2c1a47424c Mon Sep 17 00:00:00 2001 From: "Richard Mathot (OpenERP)" Date: Wed, 9 Apr 2014 17:24:59 +0200 Subject: [PATCH] [REM] annoying print window bzr revid: rim@openerp.com-20140409152459-upe7py6skbpa0qcz --- addons/survey/static/src/js/survey.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/addons/survey/static/src/js/survey.js b/addons/survey/static/src/js/survey.js index de70fde7ed9..2d97250b0ce 100644 --- a/addons/survey/static/src/js/survey.js +++ b/addons/survey/static/src/js/survey.js @@ -125,12 +125,7 @@ $(document).ready(function () { // }); // Launch prefilling - prefill().then(function(){ - // Activate the print dialog if needed - if (print_mode){ - window.print(); - } - }); + prefill(); console.debug("[survey] Custom JS for survey loaded!"); });