1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[org repo] improvement

This commit is contained in:
llj
2015-04-22 11:02:07 +08:00
committed by Daniel Pan
parent be1e9762af
commit c77585f9a1
4 changed files with 8 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ define([
var el = this.$el;
Common.ajaxGet({
get_url: Common.getUrl({
name:'ajax_unsetinnerpub',
name: 'ajax_unset_inner_pub_repo',
repo_id: this.model.get('id')
}),
data: {
@@ -47,9 +47,7 @@ define([
el.remove();
Common.feedback(gettext('Success'), 'success', Common.SUCCESS_TIMOUT);
},
after_op_error: function() {
// TODO
}
after_op_error: Common.ajaxErrorHandler
});
}