Permalink
Browse files

Problems under IE 8

  • Loading branch information...
1 parent 4ffeb06 commit 7a295f94734bccb1026e100f3936ff02837cabe0 @lem9 lem9 committed May 21, 2012
Showing with 6 additions and 1 deletion.
  1. +1 −1 js/tbl_zoom_plot_jqplot.js
  2. +5 −0 tbl_zoom_select.php
@@ -414,7 +414,7 @@ $(document).ready(function() {
yaxis: {
label: $('#tableid_1').val(),
labelRenderer: $.jqplot.CanvasAxisLabelRenderer
- },
+ }
},
highlighter: {
show: true,
View
@@ -21,6 +21,11 @@
$GLOBALS['js_include'][] = 'functions.js';
$GLOBALS['js_include'][] = 'date.js';
$GLOBALS['js_include'][] = 'jquery/jquery.mousewheel.js';
+/* < IE 9 doesn't support canvas natively */
+if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 9) {
+ $GLOBALS['js_include'][] = 'canvg/flashcanvas.js';
+}
+
$GLOBALS['js_include'][] = 'jqplot/jquery.jqplot.js';
$GLOBALS['js_include'][] = 'jqplot/plugins/jqplot.canvasTextRenderer.js';
$GLOBALS['js_include'][] = 'jqplot/plugins/jqplot.canvasAxisLabelRenderer.js';

0 comments on commit 7a295f9

Please sign in to comment.