dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mw.widgets.DateInputWidget: Highlight widget and open calendar on focus
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.widgets
/
mw.widgets.DateInputWidget.js
diff --git
a/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js
b/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js
index
dd2ce2a
..
50a84f8
100644
(file)
--- a/
resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js
+++ b/
resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js
@@
-172,7
+172,8
@@
} );
this.$handle.on( {
click: this.onClick.bind( this ),
- keypress: this.onKeyPress.bind( this )
+ keypress: this.onKeyPress.bind( this ),
+ focus: this.activate.bind( this )
} );
// Initialization