From: Florian Date: Thu, 2 Jun 2016 20:50:55 +0000 (+0200) Subject: HTMLForm: Don't add a type=reset to links X-Git-Tag: 1.31.0-rc.0~6722 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=5424788164f8521540c150700bb51dceafd35235;p=lhc%2Fweb%2Fwiklou.git HTMLForm: Don't add a type=reset to links Follow up: Ieb80e2ff36751abc6f00e2a02926fe9800666a8b Change-Id: If88c80a46cba9729a9503b82532584443d6d5ba4 --- diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index f07371793e..8ac4cf2a29 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1118,7 +1118,6 @@ class HTMLForm extends ContextSource { $buttons .= Html::element( 'a', [ - 'type' => 'reset', 'class' => $useMediaWikiUIEverywhere ? 'mw-ui-button' : null, 'href' => $target, ], diff --git a/includes/htmlform/VFormHTMLForm.php b/includes/htmlform/VFormHTMLForm.php index 3adab70976..c920ac3188 100644 --- a/includes/htmlform/VFormHTMLForm.php +++ b/includes/htmlform/VFormHTMLForm.php @@ -124,7 +124,6 @@ class VFormHTMLForm extends HTMLForm { $buttons .= Html::element( 'a', [ - 'type' => 'reset', 'class' => 'mw-ui-button mw-ui-big mw-ui-block', 'href' => $target, ],