Special:BlockList: Use mw-ui-progressive for search button

Bug: 71144
Change-Id: I56969edb6651a26ff2579e1ed9f9da34a9536e46
This commit is contained in:
Prateek Saxena 2014-09-23 15:24:51 -07:00
parent 358d2980cc
commit 279d4e2883
2 changed files with 9 additions and 0 deletions

View file

@ -1051,6 +1051,14 @@ class HTMLForm extends ContextSource {
$this->mSubmitModifierClass = 'mw-ui-destructive';
}
/**
* Identify that the submit button in the form has a progressive action
*
*/
public function setSubmitProgressive() {
$this->mSubmitModifierClass = 'mw-ui-progressive';
}
/**
* Set the text for the submit button to a message
* @since 1.19

View file

@ -103,6 +103,7 @@ class SpecialBlockList extends SpecialPage {
$form->setMethod( 'get' );
$form->setWrapperLegendMsg( 'ipblocklist-legend' );
$form->setSubmitTextMsg( 'ipblocklist-submit' );
$form->setSubmitProgressive();
$form->prepareForm();
$form->displayForm( '' );