diff --git a/static/scripts/app/router.js b/static/scripts/app/router.js index ad3131d166..2110973a48 100644 --- a/static/scripts/app/router.js +++ b/static/scripts/app/router.js @@ -13,6 +13,7 @@ define([ var Router = Backbone.Router.extend({ routes: { + '': 'showMyRepos', 'my-libs/': 'showMyRepos', 'my-libs/lib/:repo_id(/*path)': 'showMyRepoDir', 'my-sub-libs/': 'showMySubRepos', diff --git a/static/scripts/app/views/group.js b/static/scripts/app/views/group.js index 76c7eeebfd..6140cec266 100644 --- a/static/scripts/app/views/group.js +++ b/static/scripts/app/views/group.js @@ -73,7 +73,9 @@ define([ this.group_id = group_id; this.showSideNav(); this.dirView.hide(); + this.$emptyTip.hide(); this.$tabs.show(); + this.$table.hide(); this.repos.setGroupID(group_id); this.repos.fetch({reset: true}); this.$loadingTip.show(); @@ -140,6 +142,7 @@ define([ this.sideNavView.hide(); this.hideRepoList(); this.dirView.hide(); + this.$emptyTip.hide(); } }); diff --git a/static/scripts/app/views/organization.js b/static/scripts/app/views/organization.js index f2a4450dc7..e9845e2616 100644 --- a/static/scripts/app/views/organization.js +++ b/static/scripts/app/views/organization.js @@ -119,6 +119,7 @@ define([ hide: function() { this.$sideNav.hide(); this.hideRepoList(); + this.$emptyTip.hide(); this.dirView.hide(); }