| 
      
            Lines 494-499
          
      
      
        Link Here
      
     | 
  
        
          | 494 | 
                          .then(resolve, reject);  | 
          494 | 
                          .then(resolve, reject);  | 
        
        
          | 495 | 
                      })  | 
          495 | 
                      })  | 
        
        
          | 496 | 
                      .then(function(profiles) { | 
          496 | 
                      .then(function(profiles) { | 
        
            
               | 
               | 
              497 | 
                              profiles.sort( function(a, b) { | 
            
            
              | 498 | 
                                return a.name.localeCompare(b.name);  | 
            
            
              | 499 | 
                              });  | 
            
        
          | 497 | 
                          profiles.forEach(function(profile) { | 
          500 | 
                          profiles.forEach(function(profile) { | 
        
        
          | 498 | 
                              const opt = $("<option/>"); | 
          501 | 
                              const opt = $("<option/>"); | 
        
        
          | 499 | 
                              select.append(opt);  | 
          502 | 
                              select.append(opt);  | 
        
            
              | 500 | 
              -   | 
               | 
               |