Commit d8013814071d19df6a2c931ddcc009b25b3f8664

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