Skip to content

Commit

Permalink
Merge pull request #142 from khoa-nd/master
Browse files Browse the repository at this point in the history
Merged
  • Loading branch information
khoa-nd committed Jan 9, 2015
2 parents 7dffca5 + 4f2924a commit 17aa004
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/dev/logback.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ appender("CONSOLE", ConsoleAppender) {
}

appender("FILE", RollingFileAppender) {
file = "techlooper.log"
// file = "${catalina.base}/logs/techlooper.log"
file = "${catalina.base}/logs/techlooper.log"
rollingPolicy(FixedWindowRollingPolicy) {
fileNamePattern = "techlooper_%i.log"
minIndex = 1
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/assets/modules/common/connection.fac.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ angular.module("Common").factory("connectionFactory",

initialize: function () {}
}
utils.registerNotification(jsonValue.notifications.logoutSuccess, instance.connectSocket);
utils.registerNotification(jsonValue.notifications.loginSuccess, instance.connectSocket);
utils.registerNotification(jsonValue.notifications.switchScope, $$.initialize);
return instance;
Expand Down
4 changes: 3 additions & 1 deletion src/main/webapp/assets/modules/common/history.fac.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ angular.module("Common").factory("historyFactory", function (jsonValue, $locatio
popHistory: function () {
var url; // remove current item
do {url = historyStack.pop()} while(exceptViews.indexOf(url) >= 0);
console.log(historyStack);
//if (historyStack.length === 0) return "/";
//return historyStack.pop();
switch (utils.getView()) {
case jsonValue.views.jobsSearchText:
return jsonValue.routerUris.jobsSearch;

case jsonValue.views.analyticsSkill:
return jsonValue.routerUris.bubbleChart;

default:
return historyStack.length > 0 ? historyStack.pop() : "/";
}
Expand Down

0 comments on commit 17aa004

Please sign in to comment.