1
0
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:
lian
2016-03-19 10:36:18 +08:00
parent 0654cdab0a
commit cca0f52a9d

View File

@@ -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);