File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ javaxt.dhtml.ComboBox = function(parent, config) {
199199
200200 //Create main div
201201 var mainDiv = createElement ( "div" , parent ) ;
202- mainDiv . setAttribute ( "desc" , me . className ) ;
202+ mainDiv . className = "javaxt-combobox" ;
203203 mainDiv . style . width = config . style . width ;
204204 mainDiv . style . position = "relative" ;
205205 me . el = mainDiv ;
@@ -501,6 +501,7 @@ javaxt.dhtml.ComboBox = function(parent, config) {
501501 * dropdown menu.
502502 */
503503 this . reset = function ( ) {
504+ me . hideMenu ( ) ;
504505
505506 //Remove everything that's not an input
506507 var a = [ ] ;
@@ -515,7 +516,8 @@ javaxt.dhtml.ComboBox = function(parent, config) {
515516
516517 //Ensure the input is visible
517518 input . show ( ) ;
518-
519+
520+ input . blur ( ) ;
519521 } ;
520522
521523
You can’t perform that action at this time.
0 commit comments