From d8013814071d19df6a2c931ddcc009b25b3f8664 Mon Sep 17 00:00:00 2001 From: Megan Date: Thu, 16 Apr 2009 09:53:29 +0200 Subject: [PATCH] KTS-4209 IE8 requires the width be set. Set the minimum width to 200px. "The drop down menu for the Quick search seems to be cut off on the right hand side." Fixed. --- resources/js/search2widget.js | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/resources/js/search2widget.js b/resources/js/search2widget.js index df88b37..b4882c5 100644 --- a/resources/js/search2widget.js +++ b/resources/js/search2widget.js @@ -87,6 +87,8 @@ function populateSavedSearch(menu) var item = menu.addMenuItem({ text: sSearchTranslations[5], /*Saved Searches*/ menu: { + shadow: false, + minWidth: '150px', items: [] } }); @@ -118,6 +120,7 @@ function createSearchBar(div, suffix) { var menu = new Ext.menu.Menu({ shadow: false, + minWidth: '200px', items: [ { text: sSearchTranslations[6], /* Advanced Search */ @@ -131,6 +134,7 @@ function createSearchBar(div, suffix) text: sSearchTranslations[8] , /*Quick Search Options*/ menu: { shadow: false, + minWidth: '150px', items: [ new Ext.menu.CheckItem({ text: sSearchTranslations[9], /* content and metadata */ @@ -153,6 +157,7 @@ function createSearchBar(div, suffix) text: sSearchTranslations[13] , /*Toggle results format*/ menu: { shadow: false, + minWidth: '150px', items: [ new Ext.menu.CheckItem({ text: sSearchTranslations[14], /* search engine format */ -- libgit2 0.21.4