// update call loading page in AdminProductsController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11996 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -221,8 +221,8 @@ function displayTabProductById(el, id, selected)
|
||||
// Used to check if the tab is already in the process of being loaded
|
||||
$("#product-tab-content-"+id).addClass('loading');
|
||||
|
||||
if (selected)
|
||||
$('#product-tab-content-wait').show();
|
||||
if (selected)
|
||||
$('#product-tab-content-wait').show();
|
||||
|
||||
$.ajax({
|
||||
url : myurl,
|
||||
@@ -241,7 +241,8 @@ function displayTabProductById(el, id, selected)
|
||||
complete : function(data)
|
||||
{
|
||||
$("#product-tab-content-"+id).removeClass('loading');
|
||||
$('#product-tab-content-wait').hide();
|
||||
if (selected)
|
||||
$('#product-tab-content-wait').hide();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user