mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-09 12:02:53 +00:00
web browser out ouf memory when upload large image file
This commit is contained in:
parent
6873432833
commit
ca071f79c2
@ -401,7 +401,8 @@ export class NewTemplateDialogComponent implements OnInit {
|
||||
this.progressService.activate();
|
||||
};
|
||||
|
||||
fileReader.readAsText(file);
|
||||
//fileReader.readAsText(file); //web browser out ouf memory when upload large image file
|
||||
fileReader.onloadend(undefined);
|
||||
}
|
||||
|
||||
checkImageFromVersion(image: string): boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user