Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Avoid js error on logout (new router side effect)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Oct 28, 2014
1 parent 32e4427 commit 5175970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Large diffs are not rendered by default.

Expand Up @@ -174,6 +174,7 @@ Class.create("Ajaxplorer", {
navigate(repList, repId);
});
document.observe("ajaxplorer:context_changed", function(event){
if(!this.user) return;
var repoList = this.user.getRepositoriesList();
var activeRepo = repoList.get(this.user.getActiveRepository());
if(activeRepo){
Expand Down

0 comments on commit 5175970

Please sign in to comment.