ellawella Posted November 5, 2006 Share Posted November 5, 2006 Why does it still focus on the namefield even when it is not blank? If the admin's already logged into the board but they don't have an active ACP session, it would make more sense to populate the namefield box and focus the password box. Link to comment Share on other sites More sharing options...
.KX Posted November 5, 2006 Share Posted November 5, 2006 I don't get what you're saying. :blink:Could you elaborate a little? Link to comment Share on other sites More sharing options...
ellawella Posted November 5, 2006 Share Posted November 5, 2006 Log into your test board.Click Admin CP.You'll see that it focuses on the namefield textbox even though it's already been filled in automatically. It would make more sense to focus the password textbox in this scenario.Of course, if the member ID wasn't recognised and the namefield textbox is blank, it should be focused.All it really needs is an if statement checking namefield is empty. If not, focus the password textbox. If so, focus the namefield.Hope I'm expressing myself satisfactorily >_< Link to comment Share on other sites More sharing options...
.KX Posted November 5, 2006 Share Posted November 5, 2006 It would make more sense to focus on the submit button so then you can just hit enter and off you go. (That is, if both fields were filled.) Link to comment Share on other sites More sharing options...
ellawella Posted November 5, 2006 Share Posted November 5, 2006 It would make more sense to focus on the submit button so then you can just hit enter and off you go. (That is, if both fields were filled.)*headdesk*OK. An admin logs into the board. They don't have an active ACP session yet, but they're logged into the main board.Then, they decide to click Admin CP. They are taken to the ACP login screen and it recognises that they are logged in already, but it needs their password to start an admin session.So, even though all it needs is their password, the javascript that is presently there will always focus the namefield (username) box. Back in the days of 2.0, I think it would focus the password box if the username was already recognised, and if not, it would just focus the namefield box.It's not a major thing, just a minor inconvenience to have to hit tab or click or whatever 99% of the time (at least, I personally usually only access the ACP when I'm already logged into the main board). Link to comment Share on other sites More sharing options...
.KX Posted November 5, 2006 Share Posted November 5, 2006 Note the part that said (That is, if both fields were filled.) Link to comment Share on other sites More sharing options...
ellawella Posted November 5, 2006 Share Posted November 5, 2006 Note the part that saidYou should never need to focus on a submit button. The Enter key should submit a form regardless of what you have focused at the time. Link to comment Share on other sites More sharing options...
.KX Posted November 5, 2006 Share Posted November 5, 2006 Ok well I didn't know that. Anyway, although your idea is ok, it seems a little stupid. Reason being is that it only takes some 2 seconds to either hit tab, or click the mouse into the password field. It's not that big of a deal... Link to comment Share on other sites More sharing options...
ellawella Posted November 5, 2006 Share Posted November 5, 2006 Ok well I didn't know that. Anyway, although your idea is ok, it seems a little stupid. Reason being is that it only takes some 2 seconds to either hit tab, or click the mouse into the password field. It's not that big of a deal...As I've already said myself, it's hardly major. Just makes no sense considering they got this time-saving feature completely right in 2.0, then missed it out in 2.1, and now they've put it back but done it slightly wrong :) Link to comment Share on other sites More sharing options...
Mat Barrie Posted November 5, 2006 Share Posted November 5, 2006 Note the part that saidBoth fields will never, EVER, be automatically filled in a stock (or rather, sane) install. Link to comment Share on other sites More sharing options...
Keven Fox Posted November 5, 2006 Share Posted November 5, 2006 I agree, and this was done prior to 2.2 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.