--- a/www/js/log_fermentation.js Tue Jan 21 21:16:26 2020 +0100 +++ b/www/js/log_fermentation.js Wed Jan 29 13:26:01 2020 +0100 @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (C) 2019 + * Copyright (C) 2019-2020 * * Michiel Broek <mbroek at mbse dot eu> * @@ -131,7 +131,7 @@ '<head>' + '<link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" />' + '<meta charset="utf-8" />' + - '<title>' + my_code + ' ' + my_name + ' vergisting</title>' + + '<title>' + my_code + ' ' + my_name + ' klimaatkast</title>' + '</head>' + '<body>' + content + '</body></html>'; document.write(pageContent); @@ -141,12 +141,12 @@ $('#print').jqxButton({ template: 'primary', width: 125, theme: theme }); $('#pdfButton').click(function() { - $('#fermenter_chart').jqxChart('saveAsPDF', 'vergisting_' + my_code + '.pdf', getExportServer()); + $('#fermenter_chart').jqxChart('saveAsPDF', 'klimaatkast_' + my_code + '.pdf', getExportServer()); }); $('#pdfButton').jqxButton({ template: 'primary', width: 125, theme: theme }); $('#pngButton').click(function() { - $('#fermenter_chart').jqxChart('saveAsPNG', 'vergisting_' + my_code + '.png', getExportServer()); + $('#fermenter_chart').jqxChart('saveAsPNG', 'klimaatkast_' + my_code + '.png', getExportServer()); }); $('#pngButton').jqxButton({ template: 'primary', width: 125, theme: theme });