Special:Contributions: Open "To date" widget after selecting a "From date"
authorRoan Kattouw <roan.kattouw@gmail.com>
Wed, 12 Jul 2017 22:40:58 +0000 (15:40 -0700)
committerJforrester <jforrester@wikimedia.org>
Mon, 17 Jul 2017 19:36:53 +0000 (19:36 +0000)
commitbf0d70016fdd5e300496522f6668f6e322a348c5
tree73e3992ece7c551508df29c9cd30d13e8d017da4
parentb446a3b950f761fcfeff2b3fc3a26993b8056c9d
Special:Contributions: Open "To date" widget after selecting a "From date"

Add a 'deactivate' event to DateInputWidget, with a boolean indicating
whether the deactivation occurred because the user chose a date.
Also consolidate some of the code handling this case into the deactivate()
method.

Bug: T120733
Change-Id: Ia56cc28b400a0bc051dff79b2d3870a8954137a6
resources/src/mediawiki.special/mediawiki.special.contributions.js
resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.js