[-] BO : fixed bug #PSCFV-2665

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15809 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-06-04 09:08:37 +00:00
parent ea601eb639
commit c5662b742c
+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);