[-] BO : #PSFV-587 - message about order and gift message does not display in BO when order is completed

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13885 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur committed 2012-03-06 13:30:24 +00:00
1 parent 2a6ca62e3a
commit d42547cd0a
1 file changed
+18 -13
+18 -13
View File
@@ -33,7 +33,7 @@ function updateCarrierList(json)
// html += json.HOOK_EXTRACARRIER; // html += json.HOOK_EXTRACARRIER;
$('#carrier_area').replaceWith(html); $('#carrier_area').replaceWith(html);
bindInputs();
/* update hooks for carrier module */ /* update hooks for carrier module */
$('#HOOK_BEFORECARRIER').html(json.HOOK_BEFORECARRIER); $('#HOOK_BEFORECARRIER').html(json.HOOK_BEFORECARRIER);
} }
@@ -578,6 +578,20 @@ $(function() {
}); });
} }
bindInputs();
$('#opc_account_form input,select,textarea').change(function() {
if ($(this).is(':visible'))
{
$('#opc_account_saved').fadeOut('slow');
$('#submitAccount').show();
}
});
});
function bindInputs()
{
// Order message update // Order message update
$('#message').blur(function() { $('#message').blur(function() {
$('#opc_delivery_methods-overlay').fadeIn('slow'); $('#opc_delivery_methods-overlay').fadeIn('slow');
@@ -627,9 +641,9 @@ $(function() {
$('p#gift_div').show(); $('p#gift_div').show();
else else
$('p#gift_div').hide(); $('p#gift_div').hide();
// Gift message update // Gift message update
$('textarea#gift_message').blur(function() { $('textarea#gift_message').change(function() {
updateCarrierSelectionAndGift(); updateCarrierSelectionAndGift();
}); });
@@ -656,16 +670,7 @@ $(function() {
} }
}); });
}); });
}
$('#opc_account_form input,select,textarea').change(function() {
if ($(this).is(':visible'))
{
$('#opc_account_saved').fadeOut('slow');
$('#submitAccount').show();
}
});
});
function multishippingMode(it) function multishippingMode(it)
{ {