Browse Source

Corrected js

Brendan Abolivier 4 years ago
parent
commit
6c8ca3b169
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      admin/lib/platypuce.js

+ 2
- 2
admin/lib/platypuce.js View File

@@ -6,7 +6,7 @@ function checkPromoId(promoid)
6 6
 function editRow() {
7 7
     var row = $(this).parent().parent();
8 8
     switch ($("title").html()) {
9
-        case "Documents":
9
+        case "Rentrée ISEN Brest - Documents - Administration":
10 10
             var rang = $(row.children()[0]);
11 11
             var promo = $(row.children()[1]);
12 12
             var rangValeur = rang.html();
@@ -56,7 +56,7 @@ function editRow() {
56 56
                 $(this).on("click", editRow);
57 57
             });
58 58
             break;
59
-        case "Promotions":
59
+        case "Rentrée ISEN Brest - Promotions - Administration":
60 60
             var promoName = $(row.children()[1]);
61 61
             var name = $(promoName[0]).text();
62 62
             $(promoName).html(