Set the key to `rates` not the variable rates.

This commit is contained in:
George Stephanis 2015-08-14 11:08:00 -04:00
parent 81804d8d3b
commit 6e1388d334
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
},
onSaveResponse : function( response, textStatus ) {
if ( 'success' === textStatus ) {
WCTaxTableModelInstance.set( rates, response.data.rates );
WCTaxTableModelInstance.set( 'rates', response.data.rates );
WCTaxTableModelInstance.trigger( 'change:rates' );
WCTaxTableModelInstance.changes = {};