From 14c88fe5e547a16d008d8573e738d60d161ec4f8 Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Fri, 14 Aug 2015 11:08:26 -0400 Subject: [PATCH] Don't trigger a change after having just finished saving! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That’s silly! Plus it’ll set up the leave page blocker again. --- assets/js/admin/settings-views-html-settings-tax.js | 1 - 1 file changed, 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 f893335f17f..daea7777e57 100644 --- a/assets/js/admin/settings-views-html-settings-tax.js +++ b/assets/js/admin/settings-views-html-settings-tax.js @@ -76,7 +76,6 @@ WCTaxTableModelInstance.changes = {}; WCTaxTableModelInstance.trigger( 'saved:rates' ); - WCTaxTableModelInstance.trigger( 'change:rates' ); } } } ),