Author: Lars Michelsen <[email protected]>
Date: Thu Nov 21 20:20:01 2013 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu Nov 21 20:20:01 2013 +0100
Fixed issue on automap/geomap with zoom=fill functionality
---
.../frontend/nagvis-js/js/NagVisStatefulObject.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/frontend/nagvis-js/js/NagVisStatefulObject.js
b/share/frontend/nagvis-js/js/NagVisStatefulObject.js
index 53c4de9..4aa5489 100644
--- a/share/frontend/nagvis-js/js/NagVisStatefulObject.js
+++ b/share/frontend/nagvis-js/js/NagVisStatefulObject.js
@@ -1003,7 +1003,7 @@ var NagVisStatefulObject = NagVisObject.extend({
},
getObjLeft: function () {
- if (this.conf.x.split(',').length > 1) {
+ if (this.conf.x.toString().split(',').length > 1) {
return Math.min.apply(Math, this.parseCoords(this.conf.x, 'x'));
} else {
return this.parseCoord(this.conf.x, 'x');
@@ -1011,7 +1011,7 @@ var NagVisStatefulObject = NagVisObject.extend({
},
getObjTop: function () {
- if (this.conf.x.split(',').length > 1) {
+ if (this.conf.x.toString().split(',').length > 1) {
return Math.min.apply(Math, this.parseCoords(this.conf.y, 'y'));
} else {
return this.parseCoord(this.conf.y, 'y');
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins