Florianschmidtwelzow has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/292481

Change subject: HTMLForm: Don't add a type=reset to links
......................................................................

HTMLForm: Don't add a type=reset to links

Follow up: Ieb80e2ff36751abc6f00e2a02926fe9800666a8b

Change-Id: If88c80a46cba9729a9503b82532584443d6d5ba4
---
M includes/htmlform/HTMLForm.php
M includes/htmlform/VFormHTMLForm.php
2 files changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/81/292481/1

diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php
index f073717..8ac4cf2 100644
--- a/includes/htmlform/HTMLForm.php
+++ b/includes/htmlform/HTMLForm.php
@@ -1118,7 +1118,6 @@
                        $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 3adab70..c920ac3 100644
--- a/includes/htmlform/VFormHTMLForm.php
+++ b/includes/htmlform/VFormHTMLForm.php
@@ -124,7 +124,6 @@
                        $buttons .= Html::element(
                                        'a',
                                        [
-                                               'type' => 'reset',
                                                'class' => 'mw-ui-button 
mw-ui-big mw-ui-block',
                                                'href' => $target,
                                        ],

-- 
To view, visit https://gerrit.wikimedia.org/r/292481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If88c80a46cba9729a9503b82532584443d6d5ba4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to