mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
Improve group popovers
This commit is contained in:
@@ -116,6 +116,7 @@ define([
|
||||
});
|
||||
|
||||
$("#group").append(this.$el);
|
||||
this.$(".msg-input").focus();
|
||||
app.router.navigate('group/' + this.groupView.group.id + '/discussions/');
|
||||
},
|
||||
|
||||
@@ -133,6 +134,7 @@ define([
|
||||
hide: function() {
|
||||
PopoverView.prototype.hide.call(this);
|
||||
app.router.navigate('group/' + this.groupView.group.id + '/');
|
||||
return false;
|
||||
},
|
||||
|
||||
replyTo: function(to_user) {
|
||||
|
@@ -92,6 +92,7 @@ define([
|
||||
break;
|
||||
}
|
||||
this.hide();
|
||||
return false;
|
||||
},
|
||||
|
||||
rename: function() {
|
||||
|
@@ -60,6 +60,7 @@ define([
|
||||
hide: function() {
|
||||
app.ui.currentPopover = null;
|
||||
this.$el.detach();
|
||||
return false;
|
||||
},
|
||||
|
||||
show: function() {
|
||||
|
Reference in New Issue
Block a user