From 2e07b0eb26a5448704b152223d967cd7a5c15f0c Mon Sep 17 00:00:00 2001 From: bMancone Date: Mon, 26 Mar 2012 15:01:56 +0000 Subject: [PATCH] // Fixed #PSTEST-1007 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14263 b9a71923-0436-4b27-9f14-aed3839534dd --- .../template/controllers/supply_orders/helpers/form/form.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/supply_orders/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/supply_orders/helpers/form/form.tpl index 0fcd97bc7..216f4f711 100644 --- a/admin-dev/themes/default/template/controllers/supply_orders/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/supply_orders/helpers/form/form.tpl @@ -186,7 +186,7 @@ //find the position of the product id in product_id array - var position = product_ids.indexOf(product_id); + var position = jQuery.inArray(product_id, product_ids); if (position != -1) { //remove the id from the array