laiguoran před 4 roky
rodič
revize
59d6bcd8d9
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      app/public/js/ledger.js
  2. 1 1
      app/view/revise/info_modal.ejs

+ 1 - 1
app/public/js/ledger.js

@@ -3008,7 +3008,7 @@ $(document).ready(function() {
                         html.push(data.role);
                         html.push('</small></li>');
                     }
-                    auditorshtml.push('<li class="list-group-item" data-auditorid="' + data.audit_id + '">');
+                    auditorshtml.push('<li class="list-group-item" ' + (index !== 0 ? 'data-auditorid="' + data.audit_id + '"' : '') + '>');
                     auditorshtml.push('<i class="fa ' + (index+1 === datas.length ? 'fa-stop-circle' : 'fa-chevron-circle-down') + '"></i> ');
                     auditorshtml.push(data.name + ' <small class="text-muted">' + data.role + '</small>');
                     if (index === 0) {

+ 1 - 1
app/view/revise/info_modal.ejs

@@ -793,7 +793,7 @@
                             html.push(data.role);
                             html.push('</small></li>');
                         }
-                        auditorshtml.push('<li class="list-group-item" data-auditorid="' + data.audit_id + '">');
+                        auditorshtml.push('<li class="list-group-item" ' + (index !== 0 ? 'data-auditorid="' + data.audit_id + '"' : '') + '>');
                         auditorshtml.push('<i class="fa ' + (index+1 === datas.length ? 'fa-stop-circle' : 'fa-chevron-circle-down') + '"></i> ');
                         auditorshtml.push(data.name + ' <small class="text-muted">' + data.role + '</small>');
                         if (index === 0) {