Seasons are now subdocuments of series

This commit is contained in:
Mark McDowall 2013-09-09 22:22:38 -07:00
commit 33986a9185
40 changed files with 256 additions and 633 deletions

View file

@ -33,7 +33,9 @@ define(
this._showStartMessage(options);
this._setSpinnerOnElement(options);
var promise = options.context.model.save();
var model = options.model ? options.model : options.context.model;
var promise = model.save();
this._handlePromise(promise, options);
},