From ced4bf4259f4766c7805dddde713b25dc79888f7 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 26 Nov 2010 11:16:55 +0000 Subject: [PATCH] - Fixed Trac #333: organizations' drop-down list is truncated on IE when the name of an organization is too long. SVN:trunk[977] --- application/itopwebpage.class.inc.php | 4 ++-- css/light-grey.css | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/application/itopwebpage.class.inc.php b/application/itopwebpage.class.inc.php index 924ab8434..72a31ce78 100644 --- a/application/itopwebpage.class.inc.php +++ b/application/itopwebpage.class.inc.php @@ -463,7 +463,7 @@ EOF $oAppContext = new ApplicationContext(); $iCurrentOrganization = $oAppContext->GetCurrentValue('org_id'); $sHtml = '
'; - $sHtml .= '
'; $sSelected = ($iCurrentOrganization == '') ? ' selected' : ''; $sHtml .= ''; while($oOrg = $oSet->Fetch()) @@ -478,7 +478,7 @@ EOF { $sSelected = ""; } - $sHtml .= ''; + $sHtml .= ''; } $sHtml .= ''; // Add other dimensions/context information to this form diff --git a/css/light-grey.css b/css/light-grey.css index e746c687a..a8652373a 100644 --- a/css/light-grey.css +++ b/css/light-grey.css @@ -889,4 +889,10 @@ tr.row_added td { } a.truncated { cursor: pointer; +} +.org_combo +{ + font-size:x-small; + width: auto; + max-width: 200px; } \ No newline at end of file