Manually trigger change event. Why?
Unsure why this needs to be manually triggered, but its seems to.
This commit is contained in:
parent
a8b1cabc0b
commit
d8fdfe4c87
|
@ -24,6 +24,7 @@
|
||||||
if ( rates[ rateID ][ attribute ] !== value ) {
|
if ( rates[ rateID ][ attribute ] !== value ) {
|
||||||
rates[ rateID ][ attribute ] = value;
|
rates[ rateID ][ attribute ] = value;
|
||||||
this.set( 'rates', rates );
|
this.set( 'rates', rates );
|
||||||
|
this.trigger( 'change:rates' ); // Why is this necessary? Shouldn't the previous line trigger it?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} ),
|
} ),
|
||||||
|
|
Loading…
Reference in New Issue