mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-26 19:34:33 +00:00
Merge pull request #1491 from qmwd2006/patch-1
web browser out ouf memory when upload large image file
This commit is contained in:
commit
f505c101f7
@ -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