| Lines 238-244
          
      
      
        Link Here | 
        
          | 238 |         var fileType = evt.target.files[0].type || 'unknown'; | 238 |         var fileType = evt.target.files[0].type || 'unknown'; | 
        
          | 239 |         var fileSizeInK = Math.round(evt.target.files[0].size/1024); | 239 |         var fileSizeInK = Math.round(evt.target.files[0].size/1024); | 
        
          | 240 |  | 240 |  | 
          
            
              | 241 |         if (!fileType.match(/comma-separated-values|csv|excel/i)) { | 241 |         if (!fileType.match(/comma-separated-values|csv|excel|calc/i)) { | 
        
          | 242 |             alert(_("Uploads limited to csv. Incorrect filetype: %s").format(fileType)); | 242 |             alert(_("Uploads limited to csv. Incorrect filetype: %s").format(fileType)); | 
        
          | 243 |             parent.location='quotes-upload.pl'; | 243 |             parent.location='quotes-upload.pl'; | 
        
          | 244 |             return; | 244 |             return; | 
            
              | 245 | -  |  |  |