I am trying to stop the login box username from taking focus when a page loads. We need to do this because it causes issues when opening pages, documents etc in new windows. (The page always pops back in front of the newly opened window because of the Matrix Javascript that causes the username field to take focus).
Looking at the code, it should only print the javascript that sets focus if that value is true (or unset). Can you look at the HTML code of the login box to see if the javascript is being output? It might be worth logging a bug or speaking to Squiz Support.
The Javascript is there if I have "give_username_focus" set to true or false and tt is still printed if I omit the give_username_focus setting as well.
Can you take those MySource_SET vars out of the LOGIN section and put them directly under the <MySource_AREA> tag and see if that makes a difference? I'm not sure the design area system will see them nested inside the section.
I have tried moving the tags to just under the opening <MySource_AREA> and it didnt make any difference. The Javascript is still there and the Username field is still taking focus.