GUAC-807 Fixed login page error, minify button usage, and menu initial state.

This commit is contained in:
James Muehlner
2014-11-05 22:41:46 -08:00
parent fa68aa7d80
commit 4c34220c65
3 changed files with 3 additions and 6 deletions

View File

@@ -90,9 +90,6 @@
<execution>
<id>default-cli</id>
<phase>process-resources</phase>
<configuration>
<webappDirectory>${project.build.directory}/minify</webappDirectory>
</configuration>
<goals>
<goal>exploded</goal>
</goals>
@@ -111,7 +108,7 @@
<configuration>
<charset>UTF-8</charset>
<webappSourceDir>${project.build.directory}/minify</webappSourceDir>
<webappSourceDir>${project.build.directory}/${project.build.finalName}</webappSourceDir>
<cssSourceDir>/</cssSourceDir>
<cssTargetDir>/</cssTargetDir>

View File

@@ -44,7 +44,7 @@ angular.module('home').controller('clientController', ['$scope', '$routeParams',
$scope.clientProperties = {scale: 1};
// Hide menu by default
$scope.menuShown = true;
$scope.menuShown = false;
/*
* Parse the type, name, and id out of the url paramteres,

View File

@@ -31,7 +31,7 @@ angular.module('index').factory('authenticationInterceptor', ['$location', '$q',
'responseError': function(rejection) {
// Do not redirect failed login requests to the login page.
if ((rejection.status === 401 || rejection.status === 403)
&& rejection.config.url.search('api/login') === -1) {
&& rejection.config.url.search('api/token') === -1) {
$location.path('/login');
}
return $q.reject(rejection);