Module: nagvis
Branch: master
Commit: b873129231e0e90162e89780986d84ef7c365f0b
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=b873129231e0e90162e89780986d84ef7c365f0b

Author: Lars Michelsen <[email protected]>
Date:   Wed Dec 29 19:15:41 2010 +0100

Do not update the title/favicon/... on overview page

---

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

diff --git a/share/frontend/nagvis-js/js/frontend.js 
b/share/frontend/nagvis-js/js/frontend.js
index 5663662..57355b9 100644
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -702,7 +702,7 @@ function updateObjects(aMapObjectInformations, aObjs, 
sType) {
                                        aObjs[intIndex].conf[strIndex] = 
aMapObjectInformations[i][strIndex];
                                }
                        }
-                       
+
                        // Update members list
                        aObjs[intIndex].getMembers();
                }
@@ -870,7 +870,8 @@ function refreshMapObject(objectId) {
                bStateChanged = updateObjects(o, aMapObjects, 
oPageProperties.view_type);
        o = null;
        
-       if(bStateChanged)
+       // Don't update basics on the overview page
+       if(oPageProperties.view_type !== 'overview' && bStateChanged)
                updateMapBasics();
        bStateChanged = null;
 }


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to