mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 19:37:28 +00:00
show/delete public lib
This commit is contained in:
@@ -23,7 +23,7 @@ define([
|
||||
|
||||
removeShare: function(e) {
|
||||
var _this = this,
|
||||
after_leave_success = function(data) {
|
||||
success_callback = function(data) {
|
||||
Common.feedback(gettext('Success'), 'success', Common.SUCCESS_TIMOUT);
|
||||
_this.$el.remove();
|
||||
_this.collection.remove(_this.model, {silent: true});
|
||||
@@ -40,7 +40,7 @@ define([
|
||||
'from': this.model.get('owner'),
|
||||
'share_type': this.model.get('share_type')
|
||||
},
|
||||
'after_op_success': after_leave_success
|
||||
'after_op_success': success_callback
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user