// Product tabs now trigger an event when finished loading. Fixed pack and virtual product not being updated when the loading is not complete.

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12077 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-01-03 15:38:47 +00:00
parent 4d82d9dbe5
commit d3f8c6b28a
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -251,6 +251,8 @@ function displayTabProductById(id, selected, index, stack)
$("#product-tab-content-"+id).removeClass('loading');
if (selected)
$('#product-tab-content-wait').hide();
$("#product-tab-content-"+id).trigger('loaded');
if (stack && stack[index + 1])
displayTabProductById(stack[index + 1], selected, index + 1, stack);
}