[-] BO : fix #PSFV-826
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14653 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
b48a19a62e
commit
7a48decd82
1 file changed
+1
-1
@@ -306,6 +306,7 @@ function getParentCategoriesIdAndOpen(id_category)
|
|||||||
arrayCatToExpand.push(jsonData[i].id_category);
|
arrayCatToExpand.push(jsonData[i].id_category);
|
||||||
readyToExpand = true;
|
readyToExpand = true;
|
||||||
interval = setInterval(openParentCategories, 10);
|
interval = setInterval(openParentCategories, 10);
|
||||||
|
intervalCheck = setInterval(checkCategory, 20);
|
||||||
},
|
},
|
||||||
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
jAlert("TECHNICAL ERROR: \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);
|
jAlert("TECHNICAL ERROR: \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);
|
||||||
@@ -315,7 +316,6 @@ function getParentCategoriesIdAndOpen(id_category)
|
|||||||
|
|
||||||
function openParentCategories()
|
function openParentCategories()
|
||||||
{
|
{
|
||||||
intervalCheck = setInterval(checkCategory, 20);
|
|
||||||
if (id_tree >= arrayCatToExpand.length && !readyToExpand)
|
if (id_tree >= arrayCatToExpand.length && !readyToExpand)
|
||||||
{
|
{
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
|
|||||||
Reference in new issue
Block a user