Add id to file delete confirmation form.
This commit is contained in:
parent
7fafa40041
commit
a7f4aa9152
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class FileDeleteForm {
|
|||
$suppress = '';
|
||||
}
|
||||
|
||||
$form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) ) .
|
||||
$form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction(), 'id' => 'mw-img-deleteconfirm' ) ) .
|
||||
Xml::openElement( 'fieldset' ) .
|
||||
Xml::element( 'legend', null, wfMsg( 'filedelete-legend' ) ) .
|
||||
Xml::hidden( 'wpEditToken', $wgUser->editToken( $this->oldimage ) ) .
|
||||
|
|
|
|||
Loading…
Reference in a new issue