mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
upate render repo table thead
This commit is contained in:
@@ -13,6 +13,8 @@ define([
|
||||
var OrganizationView = Backbone.View.extend({
|
||||
el: '#main',
|
||||
|
||||
reposHdTemplate: _.template($('#shared-repos-hd-tmpl').html()),
|
||||
|
||||
initialize: function(options) {
|
||||
|
||||
this.$sideNav = $('#org-side-nav');
|
||||
@@ -49,8 +51,12 @@ define([
|
||||
}
|
||||
},
|
||||
|
||||
renderReposHd: function() {
|
||||
this.$tableHead.html(this.reposHdTemplate());
|
||||
},
|
||||
|
||||
reset: function() {
|
||||
this.$tableHead.html(_.template($('#shared-repo-thead-tmpl').html()))
|
||||
this.renderReposHd();
|
||||
this.$tableBody.empty();
|
||||
this.repos.each(this.addOne, this);
|
||||
if (this.repos.length) {
|
||||
|
Reference in New Issue
Block a user