Skip to content

Commit

Permalink
missing chroots
Browse files Browse the repository at this point in the history
  • Loading branch information
onsightit committed Dec 19, 2016
1 parent 5faccf1 commit 84272ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions public/wallet/js/viewmodels/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ define(['knockout',
} else {
// Bailing...
console.log("ERROR: Aborting! Node_ID not found.");
window.location = 'logout';
window.location = chRoot + '/logout';
}
self.initUser();
}).fail(function(jqXHR){
Expand All @@ -116,7 +116,7 @@ define(['knockout',
// Bailing...
console.log("ERROR: Aborting! Unknown chRoot!");
console.log("jqXHR: " + JSON.stringify(jqXHR));
window.location = 'logout';
window.location = chRoot + '/logout';
}
});
};
Expand Down Expand Up @@ -144,12 +144,12 @@ define(['knockout',
if (!wallet) {
// Bailing...
console.log("ERROR: Aborting! User wallet not found.");
window.location = 'logout';
window.location = self.settings().chRoot + '/logout';
}
} else {
// Bailing...
console.log("ERROR: Aborting! User account not found.");
window.location = 'logout';
window.location = self.settings().chRoot + '/logout';
}
self.initComplete = true;
});
Expand All @@ -165,7 +165,7 @@ define(['knockout',
self.pollWalletStatus();
} else {
console.log("Session Expired. Polling stopped.");
window.location = 'logout';
window.location = self.settings().chRoot + '/logout';
}
} else {
// Normal polling
Expand All @@ -187,7 +187,7 @@ define(['knockout',
});
} else {
console.log("Session Expired. Polling stopped.");
window.location = 'logout';
window.location = self.settings().chRoot + '/logout';
}
}
},self.timeout);
Expand Down

0 comments on commit 84272ce

Please sign in to comment.