// small changes on orders view

This commit is contained in:
Rémi Gaillard
2013-10-23 12:10:02 +02:00
parent 8662ef12b4
commit 2279b959fe
+3 -3
View File
@@ -586,8 +586,7 @@ function init()
$('.edit_product_change_link').unbind('click');
$('.edit_product_change_link').click(function() {
$('.add_product_fields').hide();
$('.standard_refund_fields').hide();
$('.add_product_fields, .standard_refund_fields, .order_action').hide();
$('.edit_product_fields').show();
$('.cancel_product_change_link:visible').trigger('click');
closeAddProduct();
@@ -656,6 +655,7 @@ function init()
element_list.find('.edit_product_change_link').parent().show();
element_list.find('button.submitProductChange').hide();
element_list.find('.cancel_product_change_link').hide();
$('.order_action').show();
$('.standard_refund_fields').hide();
return false;
});
@@ -916,4 +916,4 @@ function checkPartialRefundProductAmount(it)
{
if (parseInt($(it).val()) > parseInt($(it).parent().parent().find('.partialRefundProductAmount').val()))
$(it).val($(it).parent().parent().find('.partialRefundProductAmount').val());
}
}