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

This commit is contained in:
tDidierjean
2012-01-03 15:38:47 +00:00
parent 88f05dee8f
commit bd18f544f2
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);
}