aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js
diff options
context:
space:
mode:
authorPeter Wu2014-08-02 16:57:17 +0200
committerPim van den Berg2014-11-14 00:10:00 +0100
commite83f1fa35afd6b1d140383b2f52f06828d4caecc (patch)
tree153e3df3a379c3e0f957ba313a6716fce1fc05c3 /js
parentjsrrdgraph: Fix undefined variables (diff)
downloadapt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.zip
apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.tar.gz
apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.tar.bz2
apt-panopticon_cgp-e83f1fa35afd6b1d140383b2f52f06828d4caecc.tar.xz
jsrrdgraph: Fix invalid function call
During conversion from PHP, this function was apparently missed.
Diffstat (limited to 'js')
-rw-r--r--js/RrdGfxPdf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/RrdGfxPdf.js b/js/RrdGfxPdf.js
index 230d441..cbc552f 100644
--- a/js/RrdGfxPdf.js
+++ b/js/RrdGfxPdf.js
@@ -776,7 +776,7 @@ RrdGfxPdf.prototype._beginpage = function(orientation, size)
776 this.FontFamily = ''; 776 this.FontFamily = '';
777 // Check page size and orientation 777 // Check page size and orientation
778 if(orientation=='') orientation = this.DefOrientation; 778 if(orientation=='') orientation = this.DefOrientation;
779 else orientation = strtoupper(orientation[0]); 779 else orientation = orientation[0].toUpperCase();
780 780
781 if(size=='') size = this.DefPageSize; 781 if(size=='') size = this.DefPageSize;
782 else size = this._getpagesize(size); 782 else size = this._getpagesize(size);