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) {
199
199
200
200
//Create main div
201
201
var mainDiv = createElement ( "div" , parent ) ;
202
- mainDiv . setAttribute ( "desc" , me . className ) ;
202
+ mainDiv . className = "javaxt-combobox" ;
203
203
mainDiv . style . width = config . style . width ;
204
204
mainDiv . style . position = "relative" ;
205
205
me . el = mainDiv ;
@@ -501,6 +501,7 @@ javaxt.dhtml.ComboBox = function(parent, config) {
501
501
* dropdown menu.
502
502
*/
503
503
this . reset = function ( ) {
504
+ me . hideMenu ( ) ;
504
505
505
506
//Remove everything that's not an input
506
507
var a = [ ] ;
@@ -515,7 +516,8 @@ javaxt.dhtml.ComboBox = function(parent, config) {
515
516
516
517
//Ensure the input is visible
517
518
input . show ( ) ;
518
-
519
+
520
+ input . blur ( ) ;
519
521
} ;
520
522
521
523
You can’t perform that action at this time.
0 commit comments