javascript warning: function does not always return a vlaue
This commit is contained in:
@@ -22,6 +22,8 @@ $Source$
|
|||||||
- no other calls to grab_gloabls.lib.php
|
- no other calls to grab_gloabls.lib.php
|
||||||
* fixed minimum_common for css files
|
* fixed minimum_common for css files
|
||||||
* header.inc.php: missing ; after "
|
* header.inc.php: missing ; after "
|
||||||
|
* libraries/function.js::pdfPaperSize()
|
||||||
|
- javascript warning: function does not always return a vlaue
|
||||||
|
|
||||||
2005-11-17 Marc Delisle <lem9@users.sourceforge.net>
|
2005-11-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* Documentation.html: patch #1353283, thanks to Isaac Bennetch
|
* Documentation.html: patch #1353283, thanks to Isaac Bennetch
|
||||||
|
@@ -1063,8 +1063,8 @@ function dragPlace(no, axis, value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns paper sizes for a given format
|
* Returns paper sizes for a given format
|
||||||
*/
|
*/
|
||||||
function pdfPaperSize(format, axis) {
|
function pdfPaperSize(format, axis) {
|
||||||
switch (format.toUpperCase()) {
|
switch (format.toUpperCase()) {
|
||||||
case '4A0':
|
case '4A0':
|
||||||
@@ -1215,4 +1215,6 @@ function pdfPaperSize(format, axis) {
|
|||||||
if (axis == 'x') return 612.00; else return 936.00;
|
if (axis == 'x') return 612.00; else return 936.00;
|
||||||
break;
|
break;
|
||||||
} // end switch
|
} // end switch
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
Reference in New Issue
Block a user