From e26d9b56adb8394f84c71c0c115764d25ef5b3cb Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 16 Apr 2007 10:34:58 +0000 Subject: [PATCH] * adding an ID to the submit button * changing ID introduced with r20998: for new IDs use 'mw-' --- includes/ProtectionForm.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index cbac5f0b25..d803b94c74 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -201,7 +201,7 @@ class ProtectionForm { // The submission needs to reenable the move permission selector // if it's in locked mode, or some browsers won't submit the data. $out .= wfOpenElement( 'form', array( - 'id' => 'mwProtect-Form', + 'id' => 'mw-Protect-Form', 'action' => $this->mTitle->getLocalUrl( 'action=protect' ), 'method' => 'post', 'onsubmit' => 'protectEnable(true)' ) ); @@ -330,6 +330,7 @@ class ProtectionForm { function buildSubmit() { return wfElement( 'input', array( + 'id' => 'mw-Protect-submit', 'type' => 'submit', 'value' => wfMsg( 'confirm' ) ) ); } -- 2.20.1