r114974 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r114973
|
r114974
|
r114975
>
Date:
19:30, 19 April 2012
Author:
foxtrott
Status:
new
Tags:
Comment:
fix
bug 34361
(Timepicker: The second click on "clock" button.)
Modified paths:
/trunk/extensions/SemanticFormsInputs/libs/timepicker.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SemanticFormsInputs/libs/timepicker.js
—
—
@@ -57,7 +57,12 @@
58
58
} else {
59
59
60
60
button.click( function(){
61
- jQuery( '#' + inputID + '_tree>ul' ).fadeToggle();
61
+ if ( jQuery( '#' + inputID + '_tree>ul' ).is(':visible') ) {
62
+ inputShow.blur();
63
+ } else {
64
+ inputShow.focus();
65
+ }
66
+
62
67
} );
63
68
64
69
}