Fix bulk edit. Closes #2283.

This commit is contained in:
Mike Jolley 2013-01-28 11:18:09 +00:00
parent 0226e41ca3
commit c51613910b
2 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ function variable_product_type_options() {
var input_tag = jQuery('select#field_to_edit :selected').attr('rel') ? jQuery('select#field_to_edit :selected').attr('rel') : 'input';
var value = prompt("<?php _e( 'Enter a value', 'woocommerce' ); ?>");
jQuery(input_tag + '[name^="' + field_to_edit + '"]').val( value );
jQuery(input_tag + '[name^="' + field_to_edit + '["]').val( value );
return false;
}

File diff suppressed because one or more lines are too long