mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-09 11:31:15 +00:00
Modified the file upload cancel message
This commit is contained in:
parent
9381578657
commit
e24aa1387b
@ -276,7 +276,7 @@ export class AddIosTemplateComponent implements OnInit, OnDestroy {
|
||||
cancelUploading() {
|
||||
this.uploader.clearQueue();
|
||||
this.uploadServiceService.processBarCount(null)
|
||||
this.toasterService.warning('Image upload cancelled');
|
||||
this.toasterService.warning('File upload cancelled');
|
||||
// this.uploadServiceService.cancelFileUploading(false)
|
||||
// window.location.reload()
|
||||
|
||||
|
@ -137,7 +137,7 @@ export class AddIouTemplateComponent implements OnInit, OnDestroy {
|
||||
cancelUploading() {
|
||||
this.uploader.clearQueue();
|
||||
this.uploadServiceService.processBarCount(100)
|
||||
this.toasterService.warning('Image upload cancelled');
|
||||
this.toasterService.warning('File upload cancelled');
|
||||
// this.uploadServiceService.cancelFileUploading(false)
|
||||
// window.location.reload()
|
||||
}
|
||||
|
@ -429,7 +429,7 @@ export class NewTemplateDialogComponent implements OnInit {
|
||||
cancelUploading() {
|
||||
this.uploaderImage.clearQueue();
|
||||
this.uploadServiceService.processBarCount(null)
|
||||
this.toasterService.warning('Image upload cancelled');
|
||||
this.toasterService.warning('File upload cancelled');
|
||||
this.uploadServiceService.cancelFileUploading(false)
|
||||
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ export class ImportProjectDialogComponent implements OnInit {
|
||||
cancelUploading() {
|
||||
this.uploader.clearQueue();
|
||||
this.uploadServiceService.processBarCount(null)
|
||||
this.toasterService.warning('Image upload cancelled');
|
||||
this.toasterService.warning('File upload cancelled');
|
||||
this.uploadServiceService.cancelFileUploading(false)
|
||||
this.isFirstStepCompleted = false
|
||||
this.uploader.cancelAll();
|
||||
|
Loading…
x
Reference in New Issue
Block a user