Author:   Lars Michelsen <[email protected]>
Date:     Mon Feb 18 15:33:56 2013 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Feb 18 15:33:56 2013 +0100

Fixed js errors in IE related to actions (obj_type null)

---

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

diff --git a/share/frontend/nagvis-js/js/NagVisObject.js 
b/share/frontend/nagvis-js/js/NagVisObject.js
index eb63d34..cf2e6da 100644
--- a/share/frontend/nagvis-js/js/NagVisObject.js
+++ b/share/frontend/nagvis-js/js/NagVisObject.js
@@ -299,6 +299,8 @@ var NagVisObject = Base.extend({
         // Loop all registered actions, check wether or not this action should 
be shown for this object
         // and either add the replacement section or not
         for (var key in oGeneralProperties.actions) {
+            if(key == "indexOf")
+                continue; // skip indexOf prototype (seems to be looped in IE)
             var action = oGeneralProperties.actions[key];
             var hide = false;
 


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to