// 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:
lLefevre
2012-01-02 14:25:39 +00:00
parent 8c2c9507cf
commit 4e9e2c0676
3 changed files with 31 additions and 21 deletions
+4 -3
View File
@@ -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();
}
});
}