From: Raimond Spekking Date: Wed, 4 Apr 2007 07:35:13 +0000 (+0000) Subject: Adding an ID to the form itself X-Git-Tag: 1.31.0-rc.0~53477 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=727b74e5431cbcbff1e23f85bb9b8646d6a25258;p=lhc%2Fweb%2Fwiklou.git Adding an ID to the form itself --- 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)' ) );