File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 14
14
< script src ="../../ui/jquery.ui.tooltip.js "> </ script >
15
15
< link rel ="stylesheet " href ="../demos.css ">
16
16
< style >
17
- .ui -combobox {
17
+ .custom -combobox {
18
18
position : relative;
19
19
display : inline-block;
20
20
}
21
- .ui -combobox-toggle {
21
+ .custom -combobox-toggle {
22
22
position : absolute;
23
23
top : 0 ;
24
24
bottom : 0 ;
28
28
* height : 1.7em ;
29
29
* top : 0.1em ;
30
30
}
31
- .ui -combobox-input {
31
+ .custom -combobox-input {
32
32
margin : 0 ;
33
33
padding : 0.3em ;
34
34
}
35
35
</ style >
36
36
< script >
37
37
( function ( $ ) {
38
- $ . widget ( "ui .combobox" , {
38
+ $ . widget ( "custom .combobox" , {
39
39
_create : function ( ) {
40
40
this . wrapper = $ ( "<span>" )
41
- . addClass ( "ui -combobox" )
41
+ . addClass ( "custom -combobox" )
42
42
. insertAfter ( this . element ) ;
43
43
44
44
this . element . hide ( ) ;
54
54
. appendTo ( this . wrapper )
55
55
. val ( value )
56
56
. attr ( "title" , "" )
57
- . addClass ( "ui-state-default ui- combobox-input ui-widget ui-widget-content ui-corner-left" )
57
+ . addClass ( "custom- combobox-input ui-widget ui-widget-content ui-state-default ui-corner-left" )
58
58
. autocomplete ( {
59
59
delay : 0 ,
60
60
minLength : 0 ,
92
92
text : false
93
93
} )
94
94
. removeClass ( "ui-corner-all" )
95
- . addClass ( "ui-corner-right ui-combobox-toggle " )
95
+ . addClass ( "custom-combobox-toggle ui-corner-right " )
96
96
. mousedown ( function ( ) {
97
97
wasOpen = input . autocomplete ( "widget" ) . is ( ":visible" ) ;
98
98
} )
You can’t perform that action at this time.
0 commit comments