File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,6 @@ body {
91
91
vertical-align : bottom;
92
92
}
93
93
94
- # customkey {
95
- display : none;
96
- }
97
-
98
94
.contribute {
99
95
font-size : 10px ;
100
96
color : # 808080 ;
Original file line number Diff line number Diff line change @@ -18,11 +18,12 @@ function restore_options()
18
18
if ( idekey == "XDEBUG_ECLIPSE" || idekey == "netbeans-xdebug" || idekey == "macgdbp" || idekey == "PHPSTORM" )
19
19
{
20
20
$ ( "#ide" ) . val ( idekey ) ;
21
+ $ ( "#idekey" ) . prop ( 'disabled' , true ) ;
21
22
}
22
23
else
23
24
{
24
25
$ ( "#ide" ) . val ( "null" ) ;
25
- $ ( "#customkey " ) . fadeIn ( ) ;
26
+ $ ( "#idekey " ) . prop ( 'disabled' , false ) ;
26
27
}
27
28
$ ( '#idekey' ) . val ( idekey ) ;
28
29
@@ -49,14 +50,14 @@ $(function()
49
50
{
50
51
if ( $ ( "#ide" ) . val ( ) != "null" )
51
52
{
52
- $ ( "#customkey " ) . fadeOut ( ) ;
53
+ $ ( "#idekey " ) . prop ( 'disabled' , true ) ;
53
54
$ ( "#idekey" ) . val ( $ ( "#ide" ) . val ( ) ) ;
54
55
55
56
save_options ( ) ;
56
57
}
57
58
else
58
59
{
59
- $ ( "#customkey " ) . fadeIn ( ) ;
60
+ $ ( "#idekey " ) . prop ( 'disabled' , false ) ;
60
61
}
61
62
} ) ;
62
63
You can’t perform that action at this time.
0 commit comments