From: Raimond Spekking Date: Mon, 16 Apr 2007 10:34:58 +0000 (+0000) Subject: * adding an ID to the submit button X-Git-Tag: 1.31.0-rc.0~53393 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=e26d9b56adb8394f84c71c0c115764d25ef5b3cb;p=lhc%2Fweb%2Fwiklou.git * adding an ID to the submit button * changing ID introduced with r20998: for new IDs use 'mw-' --- 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' ) ) ); }