Module: nagvis Branch: master Commit: 64b96eb35b0859277fcc5fd49172c9239fe5d297 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=64b96eb35b0859277fcc5fd49172c9239fe5d297
Author: Lars Michelsen <[email protected]> Date: Mon Jun 7 20:09:55 2010 +0200 #310 The hover menu on overview page is functional again --- share/server/core/classes/GlobalIndexPage.php | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/share/server/core/classes/GlobalIndexPage.php b/share/server/core/classes/GlobalIndexPage.php index 606a5d2..d7c9d7c 100644 --- a/share/server/core/classes/GlobalIndexPage.php +++ b/share/server/core/classes/GlobalIndexPage.php @@ -101,11 +101,14 @@ class GlobalIndexPage { $MAP = new NagVisMap($this->CORE, $MAPCFG, $this->BACKEND, GET_STATE, !IS_VIEW); // Apply default configuration to object - $arr = $MAPCFG->getDefinitions('global'); - $objConf = $arr[0]; + $objConf = $MAPCFG->getTypeDefaults('global'); $objConf['type'] = 'map'; $objConf['map_name'] = $MAPCFG->getName(); $objConf['object_id'] = $object_id; + // Enable the hover menu in all cases - maybe make it configurable + $objConf['hover_menu'] = 1; + $objConf['hover_childs_show'] = 1; + $objConf['hover_template'] = 'default'; $MAP->MAPOBJ->setConfiguration($objConf); ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
