diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index 3e6aa818c..c5c6534ca 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -468,7 +468,7 @@ EOF $oAppContext = new ApplicationContext(); $iCurrentOrganization = $oAppContext->GetCurrentValue('org_id'); $sHtml = '
'; - $sHtml .= '
'; //'; /* $sSelected = ($iCurrentOrganization == '') ? ' selected' : ''; $sHtml .= ''; @@ -495,7 +495,8 @@ EOF $this->add_ready_script("$('#label_org_id').click( function() { $(this).val(''); $('#org_id').val(''); return true; } );\n"); // Add other dimensions/context information to this form $oAppContext->Reset('org_id'); // org_id is handled above and we want to be able to change it here ! - $sHtml .= $oAppContext->GetForForm(); + $oAppContext->Reset('menu'); // don't pass the menu, since a menu may expect more parameters + $sHtml .= $oAppContext->GetForForm(); // Pass what remains, if anything... $sHtml .= '
'; $sHtml .= '
'; }