Commit fede760f authored by eddie.woo's avatar eddie.woo

Merge branch 'dev_oracle' of http://code.tech.tax.asia.pwcinternal.com/root/atms into dev_oracle

parents 43b424b6 f3481ef3
...@@ -15,13 +15,14 @@ function ($scope, $rootScope, $log, loginContext, enums, $state) { ...@@ -15,13 +15,14 @@ function ($scope, $rootScope, $log, loginContext, enums, $state) {
$rootScope.$broadcast(enums.adminEvent.layoutChanged); $rootScope.$broadcast(enums.adminEvent.layoutChanged);
}; };
$scope.gotoAdminHomePage = function ($event) { var gotoAdminHomePage = function () {
var element = $event.target; $state.go('adminHomePage');
if (element.hasClass('sidebar-toggler')) {
return;
} else {
$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)"> <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="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 class="project-info project-toggler">
<div> <div>
<span>Administration</span> <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