X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fwidget%2FDateInputWidget.php;h=975f8e9c48c4b09d95af7d0d8ccc1a207577764a;hb=4549aabaec52cdb870fed9f8e735901199ac4832;hp=b5163317ccdbcd14d0f4272e9c95a60e7b701be6;hpb=544122a6c2dc7e7e383af8ebabc2f2dd3977069a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/widget/DateInputWidget.php b/includes/widget/DateInputWidget.php index b5163317cc..975f8e9c48 100644 --- a/includes/widget/DateInputWidget.php +++ b/includes/widget/DateInputWidget.php @@ -1,10 +1,4 @@ placeholderLabel = $config['placeholderLabel']; } - if ( isset( $config['overlay'] ) ) { - $this->overlay = $config['overlay']; - } // Set up placeholder text visible if the browser doesn't override it (logic taken from JS) if ( $this->placeholderDateFormat !== null ) { @@ -159,9 +146,7 @@ class DateInputWidget extends \OOUI\TextInputWidget { if ( $this->mustBeBefore !== null ) { $config['mustBeBefore'] = $this->mustBeBefore; } - if ( $this->overlay !== null ) { - $config['overlay'] = $this->overlay; - } + $config['$overlay'] = true; return parent::getConfig( $config ); }