[intranet/impression.js] on essaie de vérifier le nombre de pages

Ignore-this: 922c607a8f9dd28f1b7571e485f16f97

darcs-hash:20090702220306-bd074-ff3a7106ca4c602ce2f054bcdaf82d60e7f9b633.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-07-03 00:03:06 +02:00
parent 388371e136
commit 5255a1876f

View file

@ -150,8 +150,9 @@ Impression.settings.update = function () {
// Contraintes
if (
/* ( this.papier != "A4" ) || */
( (this.disposition == "recto") && (this.nb_pages>50) ) ||
( (this.disposition == "rectoverso") && (this.nb_pages>100) )
( (this.disposition_recto.checked) && (this.nb_pages>50) ) ||
( (this.disposition_rectoverso.checked) && (this.nb_pages>100) )||
( (this.disposition_livret.checked) && (this.nb_pages>60) )
)
{
this.setValue(this.theform.agrafage, "None");