From 91540901ddb5ced9c6390a9a784125a5ee66904d Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Thu, 10 Nov 2011 11:59:27 +0100 Subject: [PATCH] [intranet/modules/impression] A3 recto only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Marre du A3 recto verso qui bourre, je le désactive en soft darcs-hash:20111110105927-28565-39e1bfb5826657db5b9ffd4a32545a7cd77a98cf.gz --- intranet/modules/impression/static/impression.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intranet/modules/impression/static/impression.js b/intranet/modules/impression/static/impression.js index a3e929d7..a6c74e20 100644 --- a/intranet/modules/impression/static/impression.js +++ b/intranet/modules/impression/static/impression.js @@ -166,17 +166,17 @@ Impression.settings.update = function () { } else { this.setDisableField(this.theform.agrafage, false); } - if (this.papier == "A4tr") + if (this.papier == "A4tr" || this.papier == "A3") { this.theform.disposition_recto.checked = true; - this.disableField(this.theform.disposition_recto); this.disableField(this.theform.disposition_recto_verso); + this.disableField(this.theform.disposition_livret); this.getValue(this.theform.disposition_recto); } else { - this.setDisableField(this.theform.disposition_recto, false); this.setDisableField(this.theform.disposition_recto_verso, false); + this.setDisableField(this.theform.disposition_livret, false); } this.updatePreview();