Author: Lars Michelsen <[email protected]>
Date: Sat Apr 16 20:37:12 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Sat Apr 16 20:37:12 2011 +0200
Added js workaround to make links to maps/automaps work on overview page
---
share/frontend/nagvis-js/js/NagVisMap.js | 7 +++++++
share/frontend/nagvis-js/js/NagVisRotation.js | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/share/frontend/nagvis-js/js/NagVisMap.js
b/share/frontend/nagvis-js/js/NagVisMap.js
index 17308dd..8974be6 100644
--- a/share/frontend/nagvis-js/js/NagVisMap.js
+++ b/share/frontend/nagvis-js/js/NagVisMap.js
@@ -55,6 +55,13 @@ var NagVisMap = NagVisStatefulObject.extend({
oTd.setAttribute('className', this.conf.overview_class);
oTd.style.width = '200px';
oTd.style.margin = '0';
+
+ // needed for IE. It seems as the IE does not really know what
to do
+ // with the link definied below ... strange one
+ var url = this.conf.overview_url;
+ oTd.onclick = function() {
+ location.href = url;
+ };
// Only show map thumb when configured
if(oPageProperties.showmapthumbs == 1)
diff --git a/share/frontend/nagvis-js/js/NagVisRotation.js
b/share/frontend/nagvis-js/js/NagVisRotation.js
index 80b66ae..2c58e45 100644
--- a/share/frontend/nagvis-js/js/NagVisRotation.js
+++ b/share/frontend/nagvis-js/js/NagVisRotation.js
@@ -27,8 +27,6 @@
var NagVisRotation = NagVisStatelessObject.extend({
constructor: function(oConf) {
- // Call parent constructor
- //this.Inherits(NagVisStatefulObject, oConf);
this.base(oConf);
},
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins