| 
      
            Lines 482-487
          
      
      
        Link Here
      
     | 
  
        
          | 482 | 
                          .then(resolve, reject);  | 
          482 | 
                          .then(resolve, reject);  | 
        
        
          | 483 | 
                      })  | 
          483 | 
                      })  | 
        
        
          | 484 | 
                      .then(function(profiles) { | 
          484 | 
                      .then(function(profiles) { | 
        
            
               | 
               | 
              485 | 
                              profiles.sort( function(a, b) { | 
            
            
              | 486 | 
                                return a.name < b.name ? -1 :  1;  | 
            
            
              | 487 | 
                              });  | 
            
        
          | 485 | 
                          profiles.forEach(function(profile) { | 
          488 | 
                          profiles.forEach(function(profile) { | 
        
        
          | 486 | 
                              const opt = $("<option/>"); | 
          489 | 
                              const opt = $("<option/>"); | 
        
        
          | 487 | 
                              select.append(opt);  | 
          490 | 
                              select.append(opt);  | 
        
            
              | 488 | 
              -   | 
               | 
               |