[-] BO : #PSFV-587 - message about order and gift message does not display in BO when order is completed
This commit is contained in:
1 parent
54399f9602
commit
d86f601bec
1 file changed
+18
-13
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user