mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Fix for http://issues.alfresco.com/browse/AWC-1038 . Fix for http://issues.alfresco.com/browse/AWC-1072 . Encapsulation of NavigationBean toolbar location constants and I18N toolbar location labels git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4900 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -35,7 +35,6 @@ import org.alfresco.service.cmr.security.AuthenticationService;
|
||||
import org.alfresco.service.cmr.security.PersonService;
|
||||
import org.alfresco.web.app.Application;
|
||||
import org.alfresco.web.app.servlet.AuthenticationHelper;
|
||||
import org.alfresco.web.app.servlet.FacesHelper;
|
||||
import org.alfresco.web.bean.repository.Repository;
|
||||
import org.alfresco.web.bean.repository.User;
|
||||
import org.alfresco.web.ui.common.Utils;
|
||||
@@ -276,17 +275,8 @@ public class LoginBean
|
||||
}
|
||||
else
|
||||
{
|
||||
// setup the current location with the NavigationBean
|
||||
String location = this.preferences.getStartLocation();
|
||||
NavigationBean navBean = (NavigationBean)FacesHelper.getManagedBean(
|
||||
fc, "NavigationBean");
|
||||
if (navBean != null)
|
||||
{
|
||||
navBean.setToolbarLocation(location);
|
||||
}
|
||||
|
||||
// special case to handle jump to My Alfresco page initially
|
||||
if (NavigationBean.LOCATION_MYALFRESCO.equals(location))
|
||||
if (NavigationBean.LOCATION_MYALFRESCO.equals(this.preferences.getStartLocation()))
|
||||
{
|
||||
return "myalfresco";
|
||||
}
|
||||
|
Reference in New Issue
Block a user