Hide blank slate on add

Fixes #10967
This commit is contained in:
Mike Jolley 2016-05-24 12:49:29 +01:00
parent b1b12d2835
commit 5d6db7a294
1 changed files with 2 additions and 1 deletions

View File

@ -155,6 +155,7 @@
model.logChanges( changes );
view.renderRow( newRow );
$( '.wc-shipping-classes-blank-state' ).remove();
},
onEditRow: function( event ) {
event.preventDefault();
@ -180,7 +181,7 @@
model.logChanges( changes );
}
row.remove();
view.render();
},
onCancelEditRow: function( event ) {
var view = event.data.view,