// 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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user