// Remove unusefull line (remove of a dom element already removed)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15885 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-06-06 16:42:57 +00:00
parent 97f1827139
commit 5813f9b3ab
+1 -2
View File
@@ -221,11 +221,10 @@ function refreshProductLineView(element, view)
if (element.parent().parent().find('.edit_product_id_order_detail').length)
var element_list = $('.customized-' + element.parent().parent().find('.edit_product_id_order_detail').val());
if (!element_list.length)
element_list = $(element.parent().parent());
element_list = $(element.parent().parent());
var current_product_line = element.parent().parent();
current_product_line.replaceWith(new_product_line);
current_product_line.remove();
element_list.remove();
new_product_line.find('td').each(function() {