This commit is contained in:
@@ -81,6 +81,7 @@ echo '
|
|||||||
});
|
});
|
||||||
if (html != "")
|
if (html != "")
|
||||||
{
|
{
|
||||||
|
$("#list_orders_notif").prev("p").hide();
|
||||||
$("#list_orders_notif").empty().append(html);
|
$("#list_orders_notif").empty().append(html);
|
||||||
nb_notifs = $("#list_orders_notif li").length;
|
nb_notifs = $("#list_orders_notif li").length;
|
||||||
$("#orders_notif_value").text(nb_notifs);
|
$("#orders_notif_value").text(nb_notifs);
|
||||||
@@ -99,6 +100,7 @@ echo '
|
|||||||
});
|
});
|
||||||
if (html != "")
|
if (html != "")
|
||||||
{
|
{
|
||||||
|
$("#list_customers_notif").prev("p").hide();
|
||||||
$("#list_customers_notif").empty().append(html);
|
$("#list_customers_notif").empty().append(html);
|
||||||
nb_notifs = $("#list_customers_notif li").length;
|
nb_notifs = $("#list_customers_notif li").length;
|
||||||
$("#customers_notif_value").text(nb_notifs);
|
$("#customers_notif_value").text(nb_notifs);
|
||||||
@@ -117,6 +119,7 @@ echo '
|
|||||||
});
|
});
|
||||||
if (html != "")
|
if (html != "")
|
||||||
{
|
{
|
||||||
|
$("#list_messages_notif").prev("p").hide();
|
||||||
$("#list_messages_notif").empty().append(html);
|
$("#list_messages_notif").empty().append(html);
|
||||||
nb_notifs = $("#list_messages_notif li").length;
|
nb_notifs = $("#list_messages_notif li").length;
|
||||||
$("#messages_notif_value").text(nb_notifs);
|
$("#messages_notif_value").text(nb_notifs);
|
||||||
|
|||||||
Reference in New Issue
Block a user