Add id to file delete confirmation form.

This commit is contained in:
Chad Horohoe 2008-09-18 02:54:27 +00:00
parent 7fafa40041
commit a7f4aa9152

View file

@ -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 ) ) .