Fix - Default shipping class not loading from localize script
This commit is contained in:
parent
16152bfcf0
commit
cea8982ac3
|
@ -145,7 +145,7 @@
|
||||||
classes = _.indexBy( model.get( 'classes' ), 'term_id' ),
|
classes = _.indexBy( model.get( 'classes' ), 'term_id' ),
|
||||||
changes = {},
|
changes = {},
|
||||||
size = _.size( classes ),
|
size = _.size( classes ),
|
||||||
newRow = _.extend( {}, data.default_class, {
|
newRow = _.extend( {}, data.default_shipping_class, {
|
||||||
term_id: 'new-' + size + '-' + Date.now(),
|
term_id: 'new-' + size + '-' + Date.now(),
|
||||||
editing: true,
|
editing: true,
|
||||||
newRow : true
|
newRow : true
|
||||||
|
|
Loading…
Reference in New Issue