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
Merge "Use line comments for @codingStandardsIgnoreStart"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLButtonField.php
diff --git
a/includes/htmlform/HTMLButtonField.php
b/includes/htmlform/HTMLButtonField.php
index
56a23ad
..
5a1006a
100644
(file)
--- a/
includes/htmlform/HTMLButtonField.php
+++ b/
includes/htmlform/HTMLButtonField.php
@@
-15,8
+15,9
@@
class HTMLButtonField extends HTMLFormField {
public function __construct( $info ) {
$info['nodata'] = true;
public function __construct( $info ) {
$info['nodata'] = true;
- if ( isset( $info['flags'] ) )
+ if ( isset( $info['flags'] ) )
{
$this->mFlags = $info['flags'];
$this->mFlags = $info['flags'];
+ }
parent::__construct( $info );
}
parent::__construct( $info );
}
@@
-28,7
+29,7
@@
class HTMLButtonField extends HTMLFormField {
) {
$prefix = 'mw-ui-';
// add mw-ui-button separately, so the descriptor doesn't need to set it
) {
$prefix = 'mw-ui-';
// add mw-ui-button separately, so the descriptor doesn't need to set it
- $flags .= ' ' . $prefix
.
'button';
+ $flags .= ' ' . $prefix
.
'button';
}
foreach ( $this->mFlags as $flag ) {
$flags .= ' ' . $prefix . $flag;
}
foreach ( $this->mFlags as $flag ) {
$flags .= ' ' . $prefix . $flag;