Skip to content

Commit

Permalink
Fix IE 11 incompatibility on worldmaps in relation to lines
Browse files Browse the repository at this point in the history
Was introduced with 1.9.13
  • Loading branch information
LarsMichelsen committed Nov 1, 2019
1 parent e7acb9d commit 81b1723
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 5 additions & 1 deletion share/frontend/nagvis-js/js/ElementLine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 81b1723

Please sign in to comment.