Author:   Lars Michelsen <[email protected]>
Date:     Mon Sep 17 18:14:14 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Sep 17 18:14:14 2012 +0200

Bugfix: Fixed javascript error in state change eventhandler on e.g. automaps

---

 ChangeLog                                   |    1 +
 share/frontend/nagvis-js/js/NagVisObject.js |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ecbb918..0a49884 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ Core
     details. Thanks to Tiri GmbH (www.tiri.li) for providing this feature.
 
 Frontend
+  * Bugfix: Fixed javascript error in state change eventhandler on e.g. 
automaps
   * Bugfix: Cloning of textbox objects is now possible again
 
 1.7
diff --git a/share/frontend/nagvis-js/js/NagVisObject.js 
b/share/frontend/nagvis-js/js/NagVisObject.js
index 3f99ef6..8e77650 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -580,7 +580,7 @@ var NagVisObject = Base.extend({
      * @author  Lars Michelsen <[email protected]>
      */
     parseCoords: function(val, dir, addZoom) {
-        var l = val.split(',');
+        var l = val.toString().split(',');
 
         for(var i = 0, len = l.length; i < len; i++)
             l[i] = this.parseCoord(l[i], dir, addZoom);


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to