Do not set autofocus for valid target input on Special:UserRights
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 30 Nov 2015 18:44:26 +0000 (19:44 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Mon, 30 Nov 2015 18:44:26 +0000 (19:44 +0100)
commitdebacfbb37f08aed56f42ca3c73e70c328209d05
treec81295813d1120d0653f587d6d5f19414e589dae
parent56634389cccf18f2993c45cd255fa66691de7087
Do not set autofocus for valid target input on Special:UserRights

When open Special:UserRights with a valid user as target, there is no
need to set the autofocus on the input field. Just set it on blank input
and error input (such as non existing user or ip).

Change-Id: I14b005b83adbbd899d2846c8d71cbfb1a1a25ad7
includes/specials/SpecialUserrights.php