1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

[group] fix bug when unshare a group repo

This commit is contained in:
lian
2015-05-07 10:39:51 +08:00
parent 756177c952
commit 08001b70c0
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ define([
comparator: -'mtime', comparator: -'mtime',
url: function() { url: function() {
return Common.getUrl({name: 'group_repos', group_id: this.group_id})+'?from=web'; return Common.getUrl({name: 'group_repos', group_id: this.group_id});
}, },
parse: function(data) { parse: function(data) {

View File

@@ -81,7 +81,7 @@ define([
this.$tabs.show(); this.$tabs.show();
this.$table.hide(); this.$table.hide();
this.repos.setGroupID(group_id); this.repos.setGroupID(group_id);
this.repos.fetch({reset: true}); this.repos.fetch({reset: true, data: {from: 'web'}});
this.$loadingTip.show(); this.$loadingTip.show();
}, },