[-] BO : fixed bug #PSCFV-2665

This commit is contained in:
vAugagneur committed 2012-06-04 09:08:37 +00:00
1 parent 7ffa63ab9b
commit aa5b8bdc56
1 file changed
+3 -1
+3 -1
View File
@@ -753,7 +753,9 @@ product_tabs['Informations'] = new function(){
var self = this;
this.bindAvailableForOrder = function (){
$("#available_for_order").click(function(){
if ($(this).is(':checked') || !$('input[name=\'multishop_check[show_price]\']').prop('checked'))
if ($(this).is(':checked') || ($('input[name=\'multishop_check[show_price]\']').lenght && !$('input[name=\'multishop_check[show_price]\']').prop('checked')))
{
$('#show_price').attr('checked', true);
$('#show_price').attr('disabled', true);