// 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:
1 parent
88f05dee8f
commit
bd18f544f2
3 files changed
+21
-1
No files matched your search
@@ -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