diff --git a/ChangeLog b/ChangeLog index 68cbd59ac..cb32f86ea 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2003-10-18 Marc Delisle * libraries/common.lib.php3: bug 821512, Safari 1.0 v85.5 and fonts + * libraries/functions.js: bug 825665, scratchboard and paper size 2003-10-17 Marc Delisle * browse_foreigners.php3: bug 825473: PMA_jsFormat() needed on alert() diff --git a/libraries/functions.js b/libraries/functions.js index d8c6dfebb..073f76e0c 100644 --- a/libraries/functions.js +++ b/libraries/functions.js @@ -806,7 +806,7 @@ function dragPlace(no, axis, value) { * Returns paper sizes for a given format */ function pdfPaperSize(format, axis) { - switch (format) { + switch (format.toUpperCase()) { case '4A0': if (axis == 'x') return 4767.87; else return 6740.79; break;