mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Backport #27985 by @lng2020 As title. Before that, there was no alert at all. After:  Co-authored-by: Nanguan Lin <70063547+lng2020@users.noreply.github.com>
This commit is contained in:
		@@ -248,6 +248,10 @@ export function initGlobalDropzone() {
 | 
			
		||||
            });
 | 
			
		||||
          }
 | 
			
		||||
        });
 | 
			
		||||
        this.on('error', function (file, message) {
 | 
			
		||||
          showErrorToast(message);
 | 
			
		||||
          this.removeFile(file);
 | 
			
		||||
        });
 | 
			
		||||
      },
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user