From 47e204bdb5bf0b7578d15e5f38822eddbdc8885d Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Mon, 2 Jan 2012 16:37:37 +0000 Subject: [PATCH] // fix displayTabProduct --- js/admin-products.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/admin-products.js b/js/admin-products.js index ab6f0bfae..a5bcec7a9 100644 --- a/js/admin-products.js +++ b/js/admin-products.js @@ -249,8 +249,8 @@ function displayTabProductById(el, id, selected) function displayTabProductById2(index, selected, stack) { - id = stack[index]; - myurl = $('#link-'+id).attr("href")+"&ajax=1"; + var id = stack[index]; + var myurl = $('#link-'+id).attr("href")+"&ajax=1"; // Used to check if the tab is already in the process of being loaded $("#product-tab-content-"+id).addClass('loading');