[*] Project : Jquery 1.7.2
This commit is contained in:
@@ -683,7 +683,7 @@ function updateHookShoppingCartExtra(html)
|
||||
function refreshDeliveryOptions()
|
||||
{
|
||||
$.each($('.delivery_option_radio'), function() {
|
||||
if ($(this).attr('checked'))
|
||||
if ($(this).prop('checked'))
|
||||
{
|
||||
if ($(this).parent().find('.delivery_option_carrier.not-displayable').length == 0)
|
||||
$(this).parent().find('.delivery_option_carrier').show();
|
||||
@@ -713,7 +713,7 @@ $(document).ready(function() {
|
||||
async: true,
|
||||
cache: false,
|
||||
data: 'controller=cart&ajax=true&allowSeperatedPackage&value='
|
||||
+($(this).attr('checked') ? '1' : '0')
|
||||
+($(this).prop('checked') ? '1' : '0')
|
||||
+'&token='+static_token
|
||||
+'&allow_refresh=1',
|
||||
success: function(jsonData)
|
||||
|
||||
@@ -131,7 +131,7 @@ function updateCarrierSelectionAndGift()
|
||||
var delivery_option_radio = $('.delivery_option_radio');
|
||||
var delivery_option_params = '&';
|
||||
$.each(delivery_option_radio, function(i) {
|
||||
if ($(this).attr('checked'))
|
||||
if ($(this).prop('checked'))
|
||||
delivery_option_params += $(delivery_option_radio[i]).attr('name') + '=' + $(delivery_option_radio[i]).val() + '&';
|
||||
});
|
||||
if (delivery_option_params == '&')
|
||||
@@ -674,7 +674,7 @@ function bindInputs()
|
||||
|
||||
function multishippingMode(it)
|
||||
{
|
||||
if ($(it).attr('checked'))
|
||||
if ($(it).prop('checked'))
|
||||
{
|
||||
$('#address_delivery, .address_delivery').hide();
|
||||
$('#address_invoice').removeClass('alternate_item').addClass('item');
|
||||
|
||||
@@ -227,7 +227,7 @@ function resizeAddressesBox(nameBox)
|
||||
|
||||
$(document).ready(function() {
|
||||
$.fn.checkboxChange = function(fnChecked, fnUnchecked) {
|
||||
if ($(this).attr('checked') && fnChecked)
|
||||
if ($(this).prop('checked') && fnChecked)
|
||||
fnChecked.call(this);
|
||||
else if(fnUnchecked)
|
||||
fnUnchecked.call(this);
|
||||
|
||||
Reference in New Issue
Block a user