Commit 0175650a authored by Luis Dominguez's avatar Luis Dominguez

ajustes menores

parent 46df4bea
...@@ -479,11 +479,6 @@ $(document).ready(function () { ...@@ -479,11 +479,6 @@ $(document).ready(function () {
productListGlobe = []; productListGlobe = [];
console.log("DATA: ", data); console.log("DATA: ", data);
let dataSize = data.catalog.length;
if(dataSize == 0){
noData();
}
product_list = data; product_list = data;
// productListGlobe = data.catalog; // productListGlobe = data.catalog;
// console.log('GLOBEEE: ', productListGlobe); // console.log('GLOBEEE: ', productListGlobe);
...@@ -549,12 +544,14 @@ $(document).ready(function () { ...@@ -549,12 +544,14 @@ $(document).ready(function () {
}); });
} else { } else {
noData();
hideWaitingModal(); hideWaitingModal();
$('aside').removeClass("control-sidebar-open"); $('aside').removeClass("control-sidebar-open");
mssgModal({ //Comenté la siguiente funcion porque causaba error al ser llamada y no aportaba al algun cambio al proyecto
title : "No products were found!", // mssgModal({
body : "Parameters for this search brought no results." // title : "No products were found!",
}); // body : "Parameters for this search brought no results."
// });
} }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment