Jump to content

Simple feature request


Guest ipbcoding.com

Recommended Posts

I would like to see this simple feature request implemented into a future version of IPB

When you click Admin CP a login screen appears. if you are logged in then the username field is already filled out. if you arent logged in then its blank

i use ACP quite a bit and the majority of the time the username field is always filled in already. sometimes i will click the password field and start to enter my password but if the page hasnt fully loaded then the input fields focus is changed to the username field regardless if its empty or not and some or all of the password im inputting is entered into the username field along with whatever is in there and can get quite annoying

this is the line that does this in skin_acp/IPB2_Standard/acp_skin_html/cp_skin_global.php

window.onload = function() { document.getElementById('namefield').focus(); }

my request is, can you change that line to

window.onload = function() { document.getElementById('$acpfocus').focus(); }

and above it add

$acpfocus = ($name == '')? 'namefield' : 'password';



this way if the username field is blank then focus goes to the username field and if its already filled out then focus goes to the password field

its a simple edit which i would like to see as standard just to save me adding it on each upgrade :)

Link to comment
Share on other sites

sometimes i will click the password field and start to enter my password but if the page hasnt fully loaded then the input fields focus is changed to the username field regardless if its empty or not and some or all of the password im inputting is entered into the username field along with whatever is in there and can get quite annoying


You are right, this is very annoying. It should be fixed.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...