From 727b74e5431cbcbff1e23f85bb9b8646d6a25258 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 4 Apr 2007 07:35:13 +0000 Subject: [PATCH] Adding an ID to the form itself --- includes/ProtectionForm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 011c3cade1..cbac5f0b25 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -201,6 +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', 'action' => $this->mTitle->getLocalUrl( 'action=protect' ), 'method' => 'post', 'onsubmit' => 'protectEnable(true)' ) ); -- 2.20.1