Author:   Lars Michelsen <[email protected]>
Date:     Mon Aug  5 13:31:08 2013 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Aug  5 13:31:08 2013 +0200

Fixed error with state refresh of on-demand maps

---

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

diff --git a/share/frontend/nagvis-js/js/frontend.js 
b/share/frontend/nagvis-js/js/frontend.js
index 1047b06..bbce8bf 100644
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -954,7 +954,8 @@ function refreshMapObject(event, objectId) {
     var sAddPart = '';
     if(oPageProperties.view_type === 'map') {
         sMod = 'Map';
-        sMapPart = '&show='+escapeUrlValues(map);
+        if (map !== false)
+            sMapPart = '&show='+escapeUrlValues(map);
         sAddPart = getViewParams();
     } else if(oPageProperties.view_type === 'overview') {
         sMod = 'Overview';


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to