Module: nagvis Branch: nagvis-1.4 Commit: 59729a8dbc53fb10d9290d423c4d7a3b4ae7d78d URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=59729a8dbc53fb10d9290d423c4d7a3b4ae7d78d
Author: Lars Michelsen <[email protected]> Date: Fri Aug 14 21:22:54 2009 +0200 Fixed javascript error on index page since latest context menu fixes for maps --- nagvis/nagvis/includes/js/frontend.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/nagvis/nagvis/includes/js/frontend.js b/nagvis/nagvis/includes/js/frontend.js index 85d94bc..164e6b7 100644 --- a/nagvis/nagvis/includes/js/frontend.js +++ b/nagvis/nagvis/includes/js/frontend.js @@ -528,7 +528,12 @@ function updateObjects(aMapObjectInformations, aObjs, sType) { aObjs[intIndex].parseHoverMenu(); // Reparse the context menu - aObjs[intIndex].parseContextMenu(); + // FIXME: Context menu is not available on the overview page + if(sType === 'map') { + aObjs[intIndex].parseContextMenu(); + } else if(sType === 'overview') { + + } } return bStateChanged; ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
