Commit f3481ef3 authored by neo's avatar neo

[DEV] fixed home page default page

parent 49c4bdc2
......@@ -15,13 +15,14 @@ function ($scope, $rootScope, $log, loginContext, enums, $state) {
$rootScope.$broadcast(enums.adminEvent.layoutChanged);
};
$scope.gotoAdminHomePage = function ($event) {
var element = $event.target;
if (element.hasClass('sidebar-toggler')) {
return;
} else {
$state.go('adminHomePage');
}
var gotoAdminHomePage = function () {
$state.go('adminHomePage');
};
(function initialize() {
gotoAdminHomePage();
$scope.gotoAdminHomePage = gotoAdminHomePage;
})();
}
]);
\ No newline at end of file
<nav class="navbar navbar-default navbar-custom" role="navigation" style="margin-bottom: 0; background-image:url(../../../app-resources/images/leftbarbg.png)">
<div class="navbar-default sidebar navbarfix" role="navigation">
<div class="nav-left" ng-click="gotoAdminHomePage($event)">
<div class="nav-left" ng-click="gotoAdminHomePage()">
<div class="project-info project-toggler">
<div>
<span>Administration</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment