Skip to content
Permalink
Browse files

Fix IE 11 incompatibility on worldmaps in relation to lines

Was introduced with 1.9.13
  • Loading branch information...
LarsMichelsen committed Nov 1, 2019
1 parent e7acb9d commit 81b1723b3e71ab75c1defbf143bd0af0612f0889
Showing with 8 additions and 1 deletion.
  1. +3 −0 ChangeLog
  2. +5 −1 share/frontend/nagvis-js/js/ElementLine.js
@@ -1,4 +1,7 @@
1.9.17
* FIX: Fix PHP 5.3 incompatibility introduced with 1.9.16
* FIX: Fix IE 11 incompatibility on worldmaps in relation to lines
which was introduced with 1.9.13

1.9.16
Core:
@@ -344,7 +344,11 @@ var ElementLine = Element.extend({
if (adjustedPoints === null) {
return; // Line won't be visible -> this.parts left empty -> no rendering
}
[xStart, yStart, xEnd, yEnd] = adjustedPoints;

xStart = adjustedPoints[0];
yStart = adjustedPoints[1];
xEnd = adjustedPoints[2];
yEnd = adjustedPoints[3];

var width = addZoomFactor(this.obj.conf.line_width);
if (width <= 0)

0 comments on commit 81b1723

Please sign in to comment.
You can’t perform that action at this time.