dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdd72f
)
OOUIHTMLForm: Make the submit button infusable
author
Kunal Mehta
<legoktm@gmail.com>
Sat, 27 Jun 2015 07:55:24 +0000
(
00:55
-0700)
committer
Kunal Mehta
<legoktm@gmail.com>
Sat, 27 Jun 2015 07:55:24 +0000
(
00:55
-0700)
So people can do things to it like adding click handlers.
Change-Id: Ia51d3aca055709d5205eea1922a2985d1623ed8d
includes/htmlform/OOUIHTMLForm.php
patch
|
blob
|
history
diff --git
a/includes/htmlform/OOUIHTMLForm.php
b/includes/htmlform/OOUIHTMLForm.php
index
6c9952a
..
056591a
100644
(file)
--- a/
includes/htmlform/OOUIHTMLForm.php
+++ b/
includes/htmlform/OOUIHTMLForm.php
@@
-54,7
+54,7
@@
class OOUIHTMLForm extends HTMLForm {
$buttons = '';
if ( $this->mShowSubmit ) {
- $attribs = array();
+ $attribs = array(
'infusable' => true
);
if ( isset( $this->mSubmitID ) ) {
$attribs['id'] = $this->mSubmitID;