ui: tape/ChangerStatus: do not show progress on drive clean
since we have the state in the grid Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
		
				
					committed by
					
						
						Dietmar Maurer
					
				
			
			
				
	
			
			
			
						parent
						
							4f688e09a4
						
					
				
				
					commit
					60473d234a
				
			@ -240,14 +240,8 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	cleanDrive: function(view, rI, cI, button, el, record) {
 | 
						cleanDrive: function(view, rI, cI, button, el, record) {
 | 
				
			||||||
	    let me = this;
 | 
						    let me = this;
 | 
				
			||||||
	    let drive = record.data.name;
 | 
						    me.driveCommand(record.data.name, 'clean', function(response) {
 | 
				
			||||||
	    me.driveCommand(drive, 'clean', function(response) {
 | 
					 | 
				
			||||||
		Ext.create('Proxmox.window.TaskProgress', {
 | 
					 | 
				
			||||||
		    upid: response.result.data,
 | 
					 | 
				
			||||||
		    taskDone: function() {
 | 
					 | 
				
			||||||
		me.reload();
 | 
							me.reload();
 | 
				
			||||||
		    },
 | 
					 | 
				
			||||||
		}).show();
 | 
					 | 
				
			||||||
	    }, {}, 'PUT');
 | 
						    }, {}, 'PUT');
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user