Ver Fonte

Show the small alert if no services #616

Amauri CHAMPEAUX há 4 anos atrás
pai
commit
bc324cd537
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      tarteaucitron.js

+ 5 - 1
tarteaucitron.js

@@ -531,7 +531,11 @@ var tarteaucitron = {
                                 tarteaucitron.addService(tarteaucitron.job[index]);
                             }
                         } else {
-                            tarteaucitron.job = []
+                            tarteaucitron.job = [];
+                        }
+
+                        if (tarteaucitron.job.length == 0) {
+                            tarteaucitron.userInterface.closeAlert();
                         }
 
                         tarteaucitron.isAjax = true;