From c5662b742c033e4c4ddf2f4cae1bd1f2f8740b9f Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 4 Jun 2012 09:08:37 +0000 Subject: [PATCH] [-] BO : fixed bug #PSCFV-2665 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15809 b9a71923-0436-4b27-9f14-aed3839534dd --- js/admin-products.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/admin-products.js b/js/admin-products.js index 893aa2377..a404b8dbf 100644 --- a/js/admin-products.js +++ b/js/admin-products.js @@ -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);