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
Put menus/popups of infused PHP widgets into the default overlay
[lhc/web/wiklou.git]
/
includes
/
widget
/
UserInputWidget.php
diff --git
a/includes/widget/UserInputWidget.php
b/includes/widget/UserInputWidget.php
index
a058ab6
..
9385b48
100644
(file)
--- a/
includes/widget/UserInputWidget.php
+++ b/
includes/widget/UserInputWidget.php
@@
-25,4
+25,9
@@
class UserInputWidget extends \OOUI\TextInputWidget {
protected function getJavaScriptClassName() {
return 'mw.widgets.UserInputWidget';
}
+
+ public function getConfig( &$config ) {
+ $config['$overlay'] = true;
+ return parent::getConfig( $config );
+ }
}