From: Krinkle Date: Fri, 4 Mar 2011 00:43:16 +0000 (+0000) Subject: Call to two undefined functions. fixed, Follow-up r83183 X-Git-Tag: 1.31.0-rc.0~31662 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=801ce47efd7e55bf8b0d4477d1a1b5678c77a0a4;p=lhc%2Fweb%2Fwiklou.git Call to two undefined functions. fixed, Follow-up r83183 --- diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index 4340cae3b5..65bb294ac5 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -213,7 +213,6 @@ class IPBlockForm extends SpecialPage { Html::input( 'wpBlockAddress', $this->BlockAddress, 'text', array( 'tabindex' => '1', 'id' => 'mw-bi-target', - 'onchange' => 'updateBlockOptions()', 'size' => '45', 'required' => '' ) + ( $this->BlockAddress ? array() : array( 'autofocus' ) ) ). " @@ -231,7 +230,6 @@ class IPBlockForm extends SpecialPage { array( 'id' => 'wpBlockExpiry', 'name' => 'wpBlockExpiry', - 'onchange' => 'considerChangingExpiryFocus()', 'tabindex' => '2' ), $blockExpiryFormOptions ) . ""