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:
@@ -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)
|
||||
|
@@ -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');
|
||||
|
Reference in New Issue
Block a user