1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 07:08:55 +00:00

new design

This commit is contained in:
llj
2017-12-05 17:53:45 +08:00
parent 0acf8254aa
commit 07dea7eca4
57 changed files with 1382 additions and 1078 deletions

View File

@@ -122,8 +122,8 @@ define([
},
success: function() {
$.modal.close();
_this.groupView.updateName(new_name);
app.ui.sideNavView.updateGroups();
_this.groupView.renderGroupTop();
},
error: function(xhr) {
var error_msg;
@@ -218,9 +218,13 @@ define([
data: {
'wiki_enabled': wiki_enabled
},
success: function() {
success: function(data) {
_this.hide();
_this.groupView.renderGroupTop();
_this.groupView.group = data;
_this.groupView.renderToolbar2({
'id': data.id,
'wiki_enabled': data.wiki_enabled
});
},
error: function(xhr) {
var error_msg;
@@ -345,7 +349,7 @@ define([
url: Common.getUrl({
'name': 'group_member',
'group_id': _this.groupView.group.id,
'email': encodeURIComponent(app.pageOptions.username),
'email': encodeURIComponent(app.pageOptions.username)
}),
type: 'delete',
dataType: 'json',