|
|
@ -67,6 +67,11 @@ export default Backbone.Model.extend({ |
|
|
|
|
|
|
|
|
if (this.get('changeProp')) { |
|
|
if (this.get('changeProp')) { |
|
|
target.set(name, value, opts); |
|
|
target.set(name, value, opts); |
|
|
|
|
|
if (name === 'poster') { |
|
|
|
|
|
const attrs = { ...target.get('attributes') }; |
|
|
|
|
|
attrs[name] = value; |
|
|
|
|
|
target.set('attributes', attrs, opts); |
|
|
|
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
const attrs = { ...target.get('attributes') }; |
|
|
const attrs = { ...target.get('attributes') }; |
|
|
attrs[name] = value; |
|
|
attrs[name] = value; |
|
|
|