Commit d8013814071d19df6a2c931ddcc009b25b3f8664
1 parent
7819803c
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. Committed by: Megan Watson
Showing
1 changed file
with
5 additions
and
0 deletions
resources/js/search2widget.js
| ... | ... | @@ -87,6 +87,8 @@ function populateSavedSearch(menu) |
| 87 | 87 | var item = menu.addMenuItem({ |
| 88 | 88 | text: sSearchTranslations[5], /*Saved Searches*/ |
| 89 | 89 | menu: { |
| 90 | + shadow: false, | |
| 91 | + minWidth: '150px', | |
| 90 | 92 | items: [] |
| 91 | 93 | } |
| 92 | 94 | }); |
| ... | ... | @@ -118,6 +120,7 @@ function createSearchBar(div, suffix) |
| 118 | 120 | { |
| 119 | 121 | var menu = new Ext.menu.Menu({ |
| 120 | 122 | shadow: false, |
| 123 | + minWidth: '200px', | |
| 121 | 124 | items: [ |
| 122 | 125 | { |
| 123 | 126 | text: sSearchTranslations[6], /* Advanced Search */ |
| ... | ... | @@ -131,6 +134,7 @@ function createSearchBar(div, suffix) |
| 131 | 134 | text: sSearchTranslations[8] , /*Quick Search Options*/ |
| 132 | 135 | menu: { |
| 133 | 136 | shadow: false, |
| 137 | + minWidth: '150px', | |
| 134 | 138 | items: [ |
| 135 | 139 | new Ext.menu.CheckItem({ |
| 136 | 140 | text: sSearchTranslations[9], /* content and metadata */ |
| ... | ... | @@ -153,6 +157,7 @@ function createSearchBar(div, suffix) |
| 153 | 157 | text: sSearchTranslations[13] , /*Toggle results format*/ |
| 154 | 158 | menu: { |
| 155 | 159 | shadow: false, |
| 160 | + minWidth: '150px', | |
| 156 | 161 | items: [ |
| 157 | 162 | new Ext.menu.CheckItem({ |
| 158 | 163 | text: sSearchTranslations[14], /* search engine format */ | ... | ... |