Skip to content

Commit

Permalink
[iss31] added exclusion for Login in redirects of Login/js/new.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfulgeanu committed Sep 4, 2014
1 parent 718f41f commit 4cdab10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Login/js/new.js
Expand Up @@ -123,7 +123,8 @@ var callbacks = {
pendingPost: function() {

// get from localStorage the last known app to redirect to
if(localStorage["Login:redirect_to_app"] !== undefined) {
if(localStorage["Login:redirect_to_app"] !== undefined &&
localStorage["Login:redirect_to_app"].indexOf("Login") < 0) {
window.location = localStorage["Login:redirect_to_app"];
} else {
window.location = "../Help/new.html";
Expand Down

0 comments on commit 4cdab10

Please sign in to comment.