Module: nagvis Branch: master Commit: 7dcc6cba717768ab1eb85fa14e0a730805032c61 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=7dcc6cba717768ab1eb85fa14e0a730805032c61
Author: Lars Michelsen <[email protected]> Date: Mon Aug 16 00:35:25 2010 +0200 Fixed automap objects hover childs menus too --- share/server/core/classes/CoreModGeneral.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/server/core/classes/CoreModGeneral.php b/share/server/core/classes/CoreModGeneral.php index 8f59592..b8c0d0b 100644 --- a/share/server/core/classes/CoreModGeneral.php +++ b/share/server/core/classes/CoreModGeneral.php @@ -207,16 +207,16 @@ class CoreModGeneral extends CoreModule { $arr = $MAPCFG->getDefinitions('global'); unset($arr[0]['type']); unset($arr[0]['object_id']); + $typeDefs = $MAPCFG->getTypeDefaults('global'); foreach($typeDefs AS $key => $default) if(!isset($arr[0][$key])) $arr[0][$key] = $default; + $OBJ->setConfiguration($arr[0]); - $OBJ->setObjectId($arrObjId[$i]); - if($arrType[$i] != 'automap') - $OBJ->queueState(GET_STATE, GET_SINGLE_MEMBER_STATES); + $OBJ->queueState(GET_STATE, GET_SINGLE_MEMBER_STATES); $aObjs[] = $OBJ; } ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
