| Title | MyPrefsActiveTabNOK |
| Date | 29-Dec-2005 09:16:20 EET |
| Version | v2.3.61 |
| Submitter | Dirk Frederickx |
| Bug criticality | LightBug |
| Browser version | |
| Bug status | ClosedBug |
| PageProvider used | |
| Servlet Container | |
| Operating System | |
| URL | |
| Java version |
Small bug in UserPreferences.jsp causes an inactive active tab ;-) Reason: the css-class for the active tab is "activetab", not "activeTab". (case sensitive)
The JSP should look like this:
if ( "profile".equals( tab ) )
{
prefsVisible = "display:none;";
prefsClass = "inactiveTab";
profileVisible = "display:block;";
profileClass = "activetab";
}
else
{
prefsVisible = "display:block;";
prefsClass = "activetab";
profileVisible = "display:none;";
profileClass = "inactiveTab";
}
Some other small issue: when changing a profile, the e-mail seems to be mandatory ! Allthough the description text indicates that it's optional.
DF --
Thanks for this! I knew there was a little problem with the CSS or scriptlet code, but ran out of time to fully troubleshoot. As for your other comment, that's right-on. I'll fix both of these and will upload to CVS during my next commit.
--Andrew Jaquith, 30-Dec-2005
---
Ook? Fixed?
--- Yep. --Andrew