From 6e1388d3344cb448a1bfd067fddacf1d078eccb3 Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Fri, 14 Aug 2015 11:08:00 -0400 Subject: [PATCH] Set the key to `rates` not the variable rates. --- assets/js/admin/settings-views-html-settings-tax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin/settings-views-html-settings-tax.js b/assets/js/admin/settings-views-html-settings-tax.js index 033c13a1a08..f893335f17f 100644 --- a/assets/js/admin/settings-views-html-settings-tax.js +++ b/assets/js/admin/settings-views-html-settings-tax.js @@ -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 = {};