mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
fix repo create error
This commit is contained in:
@@ -33,7 +33,7 @@ define([
|
||||
create: function(model, options) {
|
||||
// override default create url
|
||||
options = options ? _.clone(options) : {};
|
||||
options.url = this.url + '?from=web';
|
||||
options.url = this.url() + '?from=web';
|
||||
|
||||
//call Backbone's create
|
||||
return Backbone.Collection.prototype.create.call(this, model, options);
|
||||
|
Reference in New Issue
Block a user