mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
Add reply action
This commit is contained in:
@@ -47,7 +47,8 @@ define([
|
||||
|
||||
addOne: function(item, collection, options) {
|
||||
var view = new ItemView({
|
||||
model: item
|
||||
model: item,
|
||||
parentView: this
|
||||
});
|
||||
if (options.prepend == true) {
|
||||
this.$listContainer.append(view.render().el);
|
||||
@@ -117,6 +118,10 @@ define([
|
||||
app.router.navigate('group/' + this.group_id + '/');
|
||||
},
|
||||
|
||||
beginReply: function(to_user) {
|
||||
this.$('[name="message"]').val("@" + to_user + " ");
|
||||
},
|
||||
|
||||
formSubmit: function() {
|
||||
var _this = this;
|
||||
var content = $.trim(this.$('[name="message"]').val());
|
||||
|
Reference in New Issue
Block a user