Hide blank slate on add zone

This commit is contained in:
Mike Jolley 2016-06-07 16:18:32 +01:00
parent 59a33d2188
commit 83eab2344e
2 changed files with 3 additions and 2 deletions

View File

@ -123,7 +123,6 @@
$.each( zones, function( id, rowData ) {
view.renderRow( rowData );
} );
} else {
view.$el.append( $blank_template );
}
@ -242,6 +241,8 @@
editing : true
} );
$( '.wc-shipping-zones-blank-state' ).closest( 'tr' ).remove();
newRow.zone_order = 1 + _.max(
_.pluck( zones, 'zone_order' ),
function ( val ) {

File diff suppressed because one or more lines are too long