1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 23:00:57 +00:00

[system repo admin] modification

This commit is contained in:
llj
2016-06-13 11:51:41 +08:00
committed by lian
parent 8c2e16ca36
commit 2758713cea
4 changed files with 10 additions and 15 deletions

View File

@@ -128,7 +128,7 @@ define([
var owner = url_match ? url_match[2] : '';
this.switchCurrentView(this.searchReposView);
this.sideNavView.setCurTab('libraries', {'option': 'all'});
this.sideNavView.setCurTab('libraries', {'option': 'search'});
this.searchReposView.show({
'name': decodeURIComponent(repo_name),
'owner': decodeURIComponent(owner)

View File

@@ -12,7 +12,6 @@ define([
id: 'search-libraries',
tabNavTemplate: _.template($("#libraries-tabnav-tmpl").html()),
template: _.template($("#search-libraries-tmpl").html()),
initialize: function() {
@@ -23,8 +22,6 @@ define([
},
render: function() {
var $tabnav = $(this.tabNavTemplate({'cur_tab': 'all'}));
this.$el.append($tabnav);
this.$el.append(this.template());
this.$form = this.$('#search-repo-form');