Skip to content
Permalink
Browse files

FIX: Fixed possible "Cannot read property 'conf' ... Line 4383" error

Occured when trying to interact with the map while it is initially loading
  • Loading branch information...
LarsMichelsen committed Apr 24, 2018
1 parent 7b3c8ab commit b181c0f4384f1f409e60d2c7a0829b84b5be586d
Showing with 8 additions and 3 deletions.
  1. +3 −0 ChangeLog
  2. +5 −3 share/frontend/nagvis-js/js/ViewMap.js
@@ -1,4 +1,7 @@
1.9.9
Frontend:
* FIX: Fixed possible "Cannot read property 'conf' ... Line 4383" error when
trying to interact with the map while it is initially loading

1.9.8
Frontend:
@@ -274,9 +274,11 @@ var ViewMap = View.extend({

// Sets basic information like background image
renderMapBasics: function() {
oPageProperties.page_title = oPageProperties.alias
+ ' (' + this.sum_obj.conf.summary_state + ') :: '
+ oGeneralProperties.internal_title;
var title = oPageProperties.alias;
if (this.sum_obj && this.sum_obj.conf)
title += ' (' + this.sum_obj.conf.summary_state + ')';
title += ' :: ' + oGeneralProperties.internal_title;
oPageProperties.page_title = title;

this.renderPageBasics();
this.renderBackgroundImage();

0 comments on commit b181c0f

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