1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

Restructure views

Conflicts:
	seahub/templates/libraries.html
	static/scripts/app/router.js
	static/scripts/app/views/group.js
	static/scripts/app/views/organization.js
This commit is contained in:
Daniel Pan
2016-03-24 14:43:20 +08:00
parent dd906d7f68
commit 45a7ba13e7
16 changed files with 460 additions and 483 deletions

View File

@@ -17,11 +17,14 @@ define([
this.listenTo(this.collection, 'reset', this.reset);
this.$loadingTip = this.$('.loading-tip');
this.$listContainer = $('#group-member-list');
this.$listContainer = $('#group-member-list');
this.$error = this.$('.error');
var _this = this;
$(window).resize(function() {
if (!$('#group-members:visible').length) {
return;
}
_this.setConMaxHeight();
});
$(document).click(function(e) {
@@ -34,7 +37,7 @@ define([
!$popup.find('*').is(target) &&
!$popup_switch.is(target)) {
_this.hide();
}
}
});
},
@@ -68,7 +71,7 @@ define([
reset: true,
data: {'avatar_size': 64},
success: function(collection, response, opts) {
},
},
error: function(collection, response, opts) {
_this.$loadingTip.hide();
var err_msg;