[-] BO : fix #PSFV-826
This commit is contained in:
1 parent
38c56f35ef
commit
3a3dc5a7b1
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